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

Negative floating point constants push mantissa out of view #42

Open
inscripttech opened this issue May 28, 2020 · 3 comments
Open

Negative floating point constants push mantissa out of view #42

inscripttech opened this issue May 28, 2020 · 3 comments

Comments

@inscripttech
Copy link

When using a negative floating point constant, the minus symbol pushes the part of the number after the decimal out of view.

@cupcake99
Copy link
Contributor

I have a sort of fix for this issue in my fork on the 'wilderness' branch which i use to experiment. It changes the colour of the text and adds a little negative symbol in the corner of the module. But i only implemented it in the display module so far, i forgot to transfer the change through to the const module. Wouldn't be difficult though. Only thing is that the text doesn't quite fit the bounds of the box any more, which is kind of ugly in its own way.

Looks like this:

Screen Shot 2020-05-28 at 02 23 48

@inscripttech
Copy link
Author

inscripttech commented May 28, 2020

Yeah, makes sense. I hope posting this as an issue isn't too much of a nitpick.

Another idea may be to replace the decimal with the negative but also not elegant.

@kometbomb
Copy link
Owner

More ideas:

  • a higher res UI (so the font can be more delicate)
  • a smaller font for numbers

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

No branches or pull requests

3 participants