Skip to content

Commit

Permalink
fix: fallback to screen scale factor from godot
Browse files Browse the repository at this point in the history
  • Loading branch information
jolexxa committed Jan 1, 2025
1 parent 77d3a03 commit 2aaab14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chickensoft.Platform/src/extensions/Displays.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public float GetDisplayScaleFactor(Window window) {
#elif PLATFORM_WINDOWS
return GetDisplayScaleFactorWindows(window);
#else
return 0f;
return DisplayServer.Singleton.ScreenGetScale(window.CurrentScreen);
#endif
}

Expand Down

0 comments on commit 2aaab14

Please sign in to comment.