Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corp dialog boxes: text fields require highlight to backspace #1840

Open
BenS29 opened this issue Dec 11, 2024 · 2 comments · May be fixed by #1847
Open

Corp dialog boxes: text fields require highlight to backspace #1840

BenS29 opened this issue Dec 11, 2024 · 2 comments · May be fixed by #1847

Comments

@BenS29
Copy link

BenS29 commented Dec 11, 2024

Bitburner v2.7.0 (fbe1546)
In the corporations, whenever I open a dialog box to buy or sell a resource, the first character of every text field is not editable unless I highlight it first. In other words, when I try to change the buy/sell amount or price, it doesn't let me delete the first character unless I click and drag to highlight or press SHIFT+LEFT to highlight. This only started happening in this latest update. Attached is my save file, in case you need it.
bitburnerSave_1733888602_BN10x2.json.gz

@catloversg
Copy link
Contributor

The "Sell" dialog has been changed to not accept an empty string for "Sell amount" and "Sell price". Let's say the current value is "MP". It's fine to delete "P", but if you also delete "M", the price is an empty string. In previous versions, the game shows you an error dialog when you press "Confirm". Now, it does not allow an empty string.

Tips:

@d0sboots
Copy link
Collaborator

Although I agree with what you said, this is rather awkward behavior for a text box. "M" is just as invalid as "", so why is "M" allowed but "" is not? It feels like the behavior of deferring the error until later was more correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants