This commit is contained in:
firestar5683
2026-08-02 12:20:20 -05:00
parent 6d4089feb7
commit d89371c518
206 changed files with 5069 additions and 1790 deletions
+3
View File
@@ -1304,6 +1304,9 @@ class GuiApplication:
sys.exit(0)
def _calculate_auto_scale(self) -> float:
if os.getenv("SP_HEADLESS_TEST") == "1":
return 1.0
# Create temporary window to query monitor info
rl.init_window(1, 1, "")
w, h = rl.get_monitor_width(0), rl.get_monitor_height(0)