clicking on the icon makes the options show

This commit is contained in:
Tabby 2026-06-01 19:21:45 +10:00
parent dcf3be434b
commit 0a90f52810
2 changed files with 6 additions and 0 deletions

View file

@ -141,3 +141,8 @@ func _on_popup_menu_id_pressed(id: int) -> void:
get_tree().quit()
if id == 1:
options_window.show()
func _on_status_indicator_pressed(mouse_button: int, mouse_position: Vector2i) -> void:
if(mouse_button == 1):
options_window.show()

View file

@ -453,6 +453,7 @@ layout_mode = 2
size_flags_horizontal = 3
text = "Save"
[connection signal="pressed" from="StatusIndicator" to="." method="_on_status_indicator_pressed"]
[connection signal="id_pressed" from="StatusIndicator/PopupMenu" to="." method="_on_popup_menu_id_pressed"]
[connection signal="gui_input" from="VBoxContainer/TitleBar" to="VBoxContainer/TitleBar" method="_on_TitleBar_gui_input"]
[connection signal="close_requested" from="Options Window" to="Options Window" method="_on_close_requested"]