Open
Description
Describe the bug
If settings.isScaleAffectedOnResize is false, then we set:
scaleRatioX.value = 1.0
scaleRatioY.value = 1.0
FXGL/fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt
Lines 420 to 433 in 43a1a24
This can potentially be problematic if display size < target size
To Reproduce
Need to make a sample with target size set to larger than display size and set isScaleAffectedOnResize to false.
Additional context / possible fixes
Should be fixable by setting the above scale values based on display size / target size ratio?
To fix, first identify that this is indeed a bug and explain what happens in the above case.