metalpriest94 / The_Old_Days

Development of a tile-based strategy-game. Formerly named 'GridBoard'.
0 stars 0 forks source link

Fix zooming while not in fullscreen #3

Closed metalpriest94 closed 8 years ago

metalpriest94 commented 8 years ago

What to do? Zooming is supposed to show the same effects no matter what resolution the frame has.

Currently, a fixed formula (6:5) is applied to the height of gamePanel causing to move the visible area when it's not in a 6:5 resolution. The size of the gamePanel is the result of the whole frame being in a 16:9 resolution.

metalpriest94 commented 8 years ago

Zooming is correctly working on any resolution.