You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fixed undo/redo behaviour of color picker and added ability to cancel/confirm color selection.
This commit is contained in:
@@ -6922,6 +6922,8 @@ Control *VisualShaderNodePluginDefault::create_editor(const Ref<Resource> &p_par
|
||||
} else if (Object::cast_to<EditorPropertyEnum>(prop)) {
|
||||
prop->set_custom_minimum_size(Size2(100 * EDSCALE, 0));
|
||||
Object::cast_to<EditorPropertyEnum>(prop)->set_option_button_clip(false);
|
||||
} else if (Object::cast_to<EditorPropertyColor>(prop)) {
|
||||
Object::cast_to<EditorPropertyColor>(prop)->set_live_changes_enabled(false);
|
||||
}
|
||||
|
||||
editors.push_back(prop);
|
||||
|
||||
Reference in New Issue
Block a user