UnderwaterApps / overlap2d

Overlap2D Game development toolkit for UI and Level design
Other
781 stars 224 forks source link

on 27" mac, the mouseover events/accuracy goes wrong #422

Open bruceloco opened 7 years ago

bruceloco commented 7 years ago

Version 0.1.3

I have a 27 inch Mac, OSX Sierra with Java 8.111

The pointer gets of base from time to time and for example, the mouse is under the menu(although it is not captured by the printscreen) but it behaves is if it was on the “file” menu and if you click the empty bit, it will bring up the menu. If I then go up to the actual file menu, it does not work. This also happens on the side buttons. Not sure if there is a predetermined size/maximum size for the window for overlap to work properly(also comment in forum) screen shot 2017-01-02 at 22 17 51

bruceloco commented 7 years ago

Seems to be related to this line: overlap2d/src/com.uwsoft.editor/Main, line 74: config.height = (int) (height - height * .04); setting it to config.height = (int) (height); seems to fix it