You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Color picker was getting too much focus, made it get not as much focus.
This abuse of focus was the original culprit of #5354
This commit is contained in:
@@ -612,6 +612,7 @@ bool CustomPropertyEditor::edit(Object* p_owner,const String& p_name,Variant::Ty
|
||||
color_picker->set_edit_alpha(hint!=PROPERTY_HINT_COLOR_NO_ALPHA);
|
||||
color_picker->set_color(v);
|
||||
set_size( Size2(300*EDSCALE, color_picker->get_combined_minimum_size().height+10*EDSCALE));
|
||||
color_picker->set_focus_on_line_edit();
|
||||
/*
|
||||
int ofs=80;
|
||||
int m=10;
|
||||
|
||||
Reference in New Issue
Block a user