mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Anim Editor: made the window height depend on the monitor's height
This commit is contained in:
@@ -9,6 +9,8 @@ class AnimationEditor
|
||||
BORDER_THICKNESS = 4
|
||||
WINDOW_WIDTH = Settings::SCREEN_WIDTH + 352 + (BORDER_THICKNESS * 4)
|
||||
WINDOW_HEIGHT = Settings::SCREEN_HEIGHT + 424 + (BORDER_THICKNESS * 4)
|
||||
WINDOW_HEIGHT = [WINDOW_HEIGHT, Graphics.display_height - 100].min
|
||||
WINDOW_HEIGHT = [WINDOW_HEIGHT, Settings::SCREEN_HEIGHT + 266 + (BORDER_THICKNESS * 4)].max
|
||||
|
||||
# Components
|
||||
MENU_BAR_WIDTH = WINDOW_WIDTH
|
||||
|
||||
Reference in New Issue
Block a user