Fixed undo/redo behaviour of color picker and added ability to cancel/confirm color selection.
This commit is contained in:
parent
99ff024f78
commit
d827b34ea8
5 changed files with 48 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue