Reworked the gamescope to work better with scaling and maximize window.
This commit is contained in:
@@ -45,6 +45,7 @@ class Settings:
|
||||
game_source: str | None = None
|
||||
download_speed_limit_mbps: float | None = None
|
||||
low_bandwidth_mode: bool = False
|
||||
allow_window_resizing: bool = False
|
||||
|
||||
@property
|
||||
def source_override(self) -> Path | None:
|
||||
@@ -154,6 +155,11 @@ def _settings_from_object(value: dict[str, object]) -> Settings:
|
||||
realm=_string(value, "realm", "Babel").strip(),
|
||||
ui_scale=_string(value, "ui_scale", "auto"),
|
||||
borderless=_migrated_borderless(value),
|
||||
allow_window_resizing=_boolean(
|
||||
value,
|
||||
"allow_window_resizing",
|
||||
False,
|
||||
),
|
||||
suppress_unresponsive_warnings=_boolean(
|
||||
value,
|
||||
"suppress_unresponsive_warnings",
|
||||
|
||||
Reference in New Issue
Block a user