fix(gui): make admin config responsive and mask editor usable
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user