fix(gui): make admin config responsive and mask editor usable

This commit is contained in:
2026-06-15 09:53:56 +02:00
parent 269b9e0e13
commit 696f6bf27c
4 changed files with 949 additions and 232 deletions

View File

@@ -25,6 +25,13 @@ class ConfigState:
enable_gliner: bool = False
output_dir: Optional[Path] = None
ogc_label: Optional[str] = None
manual_mask_required: bool = False
manual_mask_template: Optional[Path] = None
mask_color: str = "#000000"
mask_marker_style: str = "brackets"
mask_margin_x: int = 2
mask_margin_y: int = 1
mask_rounded_corners: bool = False
def to_engine_settings(self, config_path: Optional[Path] = None) -> EngineSettings:
return EngineSettings(