mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Flag is only controlled from the command-line because redoing Qt layout usually breaks things. Off by default in 6 since this feature is nowhere near done enough to even be used experimentally (most changes to the ATO made after the sim begins will break the game). Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2535.
18 lines
531 B
Python
18 lines
531 B
Python
from dataclasses import dataclass
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class UiFlags:
|
|
"""Flags for the UI that are not exposed in settings.
|
|
|
|
These flags are hidden from the settings UI because they can only be controlled from
|
|
the command-line during startup.
|
|
"""
|
|
|
|
# True if the front-end should connect to the development react webserver instead of
|
|
# the built front-end app.
|
|
dev_ui_webserver: bool
|
|
|
|
# True if the play/pause/speed controls should be visible in the top panel.
|
|
show_sim_speed_controls: bool
|