Merge pull request #101960 from Giganzo/colorpicker-swatches-menubutton

Fix ColorPicker load/save swatches button interactions
This commit is contained in:
Thaddeus Crews 2025-01-31 09:15:37 -06:00
commit 00564920d8
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
2 changed files with 6 additions and 22 deletions

View file

@ -144,7 +144,7 @@ private:
TextureRect *picker_texture_rect = nullptr;
Color picker_color;
FileDialog *file_dialog = nullptr;
Button *menu_btn = nullptr;
MenuButton *menu_btn = nullptr;
PopupMenu *options_menu = nullptr;
MarginContainer *internal_margin = nullptr;
@ -306,7 +306,6 @@ private:
void _target_gui_input(const Ref<InputEvent> &p_event);
void _pick_finished();
void _update_menu_items();
void _update_menu();
void _options_menu_cbk(int p_which);
// Legacy color picking.