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
2 changes: 1 addition & 1 deletion system/ui/lib/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ def _calculate_auto_scale(self) -> float:
# Create temporary window to query monitor info
rl.init_window(1, 1, "")
w, h = rl.get_monitor_width(0), rl.get_monitor_height(0)
rl.close_window()
rl.glfw_destroy_window(rl.get_window_handle())

if w == 0 or h == 0 or (w >= self._width and h >= self._height):
return 1.0
Expand Down
Loading