summaryrefslogtreecommitdiffstats
path: root/scene/gui/gradient_edit.cpp
diff options
context:
space:
mode:
authorGuh-Feng <58538080+Guh-Feng@users.noreply.github.com>2022-06-30 23:43:46 -0400
committerGuh-Feng <58538080+Guh-Feng@users.noreply.github.com>2022-07-21 18:11:09 -0400
commit1b8652e86a383747cc2d8ec803b4dcd49cb7469d (patch)
tree1a08bd998705cf549b3e4543c485c825e0191dd9 /scene/gui/gradient_edit.cpp
parent976cb7ea9f59813f99e06c4c345c19ff68c2c591 (diff)
downloadredot-engine-1b8652e86a383747cc2d8ec803b4dcd49cb7469d.tar.gz
Color Pickers Respect Settings
Updated editor_node with function that sets up color pickers throughout Godot to respect editor's settings.
Diffstat (limited to 'scene/gui/gradient_edit.cpp')
-rw-r--r--scene/gui/gradient_edit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/gradient_edit.cpp b/scene/gui/gradient_edit.cpp
index 9459bed63b..cc27a6b7c2 100644
--- a/scene/gui/gradient_edit.cpp
+++ b/scene/gui/gradient_edit.cpp
@@ -437,6 +437,10 @@ ColorPicker *GradientEdit::get_picker() {
return picker;
}
+PopupPanel *GradientEdit::get_popup() {
+ return popup;
+}
+
void GradientEdit::_bind_methods() {
ADD_SIGNAL(MethodInfo("ramp_changed"));
}