nurpax / petmate

PETSCII editor with Electron/React/Redux
MIT License
181 stars 14 forks source link

show char code of selected character #88

Closed Esshahn closed 6 years ago

Esshahn commented 6 years ago

As discussed in #86

Would be great to see the char code of the selected character. Also: show char code of the character the mouse is hovering over, both in canvas and in char selection.

screenshot 2018-08-13 um 10 45 39

left side under the canvas

right side under the char selector

nurpax commented 6 years ago

@Esshahn something like this for the editor canvas: https://youtu.be/nXFo2XH7Co4? (the actual thing you should check is hidden under the youtube play controls)

Esshahn commented 6 years ago

perfect!

Esshahn commented 6 years ago

Can you make the char code in character selection react on hover, too, like the canvas one?

screenshot 2018-08-16 um 11 03 31

nurpax commented 6 years ago

https://youtu.be/F9ZJ5nW1ASk

The code's ready. If it's not confusing, might as well check that in. I'm not sure which is better. I think I might slightly prefer the no hover variant.

nurpax commented 6 years ago

I checked in the hover version.