Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion PureBasicIDE/UserInterface.pb
Original file line number Diff line number Diff line change
Expand Up @@ -2337,7 +2337,12 @@ EndProcedure

Procedure ResizeMainWindow()
EditorWindowWidth = WindowWidth(#WINDOW_Main) ; update the global variables to speed up things like splitter movement
EditorWindowHeight = WindowHeight(#WINDOW_Main)

CompilerIf #CompileMac
EditorWindowHeight = WindowHeight(#WINDOW_Main, #PB_Window_FrameCoordinate)
CompilerElse
EditorWindowHeight = WindowHeight(#WINDOW_Main)
CompilerEndIf

If IsWindowMaximized(#WINDOW_Main) = 0 And IsWindowMinimized(#WINDOW_Main) = 0
Save_EditorX = WindowX(#WINDOW_Main)
Expand Down