mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Hide the color mode submenu when selecting an item
This commit is contained in:
parent
7cf87ac142
commit
11da07b9ac
|
@ -421,7 +421,6 @@ func _setup_color_mode_submenu(item: String) -> void:
|
||||||
color_mode_submenu.add_radio_check_item("RGBA", ColorModes.RGBA)
|
color_mode_submenu.add_radio_check_item("RGBA", ColorModes.RGBA)
|
||||||
color_mode_submenu.set_item_checked(ColorModes.RGBA, true)
|
color_mode_submenu.set_item_checked(ColorModes.RGBA, true)
|
||||||
color_mode_submenu.add_radio_check_item("Indexed", ColorModes.INDEXED)
|
color_mode_submenu.add_radio_check_item("Indexed", ColorModes.INDEXED)
|
||||||
color_mode_submenu.hide_on_checkable_item_selection = false
|
|
||||||
|
|
||||||
color_mode_submenu.id_pressed.connect(_color_mode_submenu_id_pressed)
|
color_mode_submenu.id_pressed.connect(_color_mode_submenu_id_pressed)
|
||||||
image_menu.add_child(color_mode_submenu)
|
image_menu.add_child(color_mode_submenu)
|
||||||
|
|
Loading…
Reference in a new issue