dmliao / strike

1-bit paint app
https://amorphous.itch.io/strike
MIT License
89 stars 5 forks source link

icon/button click event handling #2

Open jywarren opened 4 years ago

jywarren commented 4 years ago

Hi, i noticed that the undo button seems not to trigger for me, and realized that if I click on the icon it doesn't trigger, but if I carefully click inside the button but outside the icon, it does.

image

Love this app, thanks, hope this helps! Chrome on ChromeOS:

Google Chrome | 81.0.4044.103 (Official Build) (32-bit)
-- | --
Revision | 2a35e9a3c64174c5e9070e73d1ca3992d07ac578-refs/branch-heads/4044@{#917}
Platform | 12871.76.0 (Official Build) stable-channel hana
Firmware Version | Google_Hana.8438.184.0
Customization ID | OEM1-MAPLE
ARC | 6369516
JavaScript | V8 8.1.307.28
Flash | 32.0.0.363 /opt/google/chrome/pepper/libpepflashplayer.so
User Agent | Mozilla/5.0 (X11; CrOS aarch64 12871.76.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.103 Safari/537.36
dmliao commented 4 years ago

@jywarren I am unable to reproduce this, but I also don't have a ChromeOS machine to test with. Clicking the button through the icon seems to work fine on Chrome 81 on Windows, though.

Was this consistent behavior across all buttons, or just undo / redo?