mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
Merge pull request #3467 from MarianoGnu/master
Focus and select line edit every time color is changed. Fixes #2586
This commit is contained in:
commit
600411b433
@ -154,6 +154,8 @@ void ColorPicker::_update_color() {
|
||||
}
|
||||
|
||||
html->set_text(color.to_html(edit_alpha && color.a<1));
|
||||
html->grab_focus();
|
||||
html->select();
|
||||
|
||||
sample->update();
|
||||
updating=false;
|
||||
|
Loading…
Reference in New Issue
Block a user