feat(ui): 360dp redesign with patterns, room legend, and in-level settings
This commit is contained in:
1 parent
46b5764144
commit
089f5d6171
12 files changed
+115
-263
No files matched your search
@@ -12,6 +12,7 @@ var hold_value: Label
|
||||
var restart_row: Control
|
||||
var lobby_row: Control
|
||||
var reset_row: Control
|
||||
var resume_button: Button
|
||||
var restart_dialog: ConfirmationDialog
|
||||
var reset_dialog: ConfirmationDialog
|
||||
var reset_status: Label
|
||||
@@ -105,9 +106,10 @@ func _ready() -> void:
|
||||
|
||||
var resume := UI.button("Resume", true, 52)
|
||||
resume.pressed.connect(_close)
|
||||
list.add_child(resume)
|
||||
resume_button = resume
|
||||
column.add_child(resume)
|
||||
|
||||
list.add_child(UI.label(Version.BUILD_LABEL, 9, Palette.MUTED))
|
||||
column.add_child(UI.label(Version.BUILD_LABEL, 9, Palette.MUTED))
|
||||
|
||||
restart_dialog = ConfirmationDialog.new()
|
||||
restart_dialog.title = "Restart room?"
|
||||
@@ -128,6 +130,7 @@ func open_sheet(mode: String) -> void:
|
||||
lobby_row.visible = game_mode
|
||||
reset_row.visible = not game_mode
|
||||
reset_status.visible = not game_mode
|
||||
resume_button.text = "Resume" if game_mode else "Close"
|
||||
refresh()
|
||||
visible = true
|
||||
move_to_front()
|
||||
|
||||
Reference in new issue
Block a user