1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

fix ColorPickerButton.get_popup()

This commit is contained in:
Alexander Holland
2018-07-10 15:06:36 +02:00
parent 04d9f8dbd6
commit bf3c81f20b
2 changed files with 3 additions and 2 deletions

View File

@@ -743,8 +743,9 @@ ColorPicker *ColorPickerButton::get_picker() {
return picker;
}
PopupPanel *ColorPickerButton::get_popup() const {
PopupPanel *ColorPickerButton::get_popup() {
_update_picker();
return popup;
}

View File

@@ -144,7 +144,7 @@ public:
bool is_editing_alpha() const;
ColorPicker *get_picker();
PopupPanel *get_popup() const;
PopupPanel *get_popup();
ColorPickerButton();
};