Deploy browser pre-alpha

This commit is contained in:
hz
2026-07-14 00:50:17 -05:00
parent 37218d9f45
commit f5c5d9f00e
17 changed files with 349 additions and 10 deletions
+14
View File
@@ -357,6 +357,20 @@ func _ready() -> void:
_build_labs_modal()
_build_report_modal()
resized.connect(_fit_modal_panels)
_fit_modal_panels()
func _fit_modal_panels() -> void:
var available := get_viewport_rect().size - Vector2(32, 32)
if report_panel != null:
report_panel.custom_minimum_size = Vector2(
minf(700.0, maxf(320.0, available.x)),
minf(600.0, maxf(560.0, available.y)))
if labs_panel != null:
labs_panel.custom_minimum_size = Vector2(
minf(760.0, maxf(320.0, available.x)),
minf(430.0, maxf(360.0, available.y)))
func on_show(_payload: Variant = null) -> void: