prototracker-modular icon indicating copy to clipboard operation
prototracker-modular copied to clipboard

Negative floating point constants push mantissa out of view

Open inscripttech opened this issue 4 years ago • 3 comments

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

inscripttech avatar May 28 '20 00:05 inscripttech

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

cupcake99 avatar May 28 '20 01:05 cupcake99

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.

inscripttech avatar May 28 '20 02:05 inscripttech

More ideas:

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

kometbomb avatar May 28 '20 08:05 kometbomb