nurpax / petmate

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

BUG: Crash Editor Screen (not app) by clicking character palette edges #215

Open wbochar opened 2 years ago

wbochar commented 2 years ago

I download the source to help debug this one. Every so often, I would be editing something and click a character for the right hand char palette.. usually in the lower area,

image

around the left edge of the '=' sign. would cause the main editor screen to disappear. I noticed that i could still save the document with a control-s and then close the app and reopen it. The file would be saved correctly and I could continue. It happens a lot more than I like to admit.. it might be the grid around things that might be picking up a click event.. anyways I downloaded the repo and ran in debug mode and here is the error..

image

wbochar commented 2 years ago

Actually, its the left side of the char palette 1 px out. Click there and you get this issue. (Windows 10,11)

chrisblown commented 1 year ago

Also having this problem, blank editor screen but can still save and re-open with everything back to how it was. Seems to happen when you're clicking a character from the edit panel EDIT: Mac version