Fix non flat favorite icons
This commit is contained in:
parent
d31215e4cd
commit
4cc4f5cc5d
2 changed files with 2 additions and 0 deletions
|
@ -625,6 +625,7 @@ CreateDialog::CreateDialog() {
|
|||
search_box->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
search_hb->add_child(search_box);
|
||||
favorite = memnew(Button);
|
||||
favorite->set_flat(true);
|
||||
favorite->set_toggle_mode(true);
|
||||
search_hb->add_child(favorite);
|
||||
favorite->connect("pressed", this, "_favorite_toggled");
|
||||
|
|
|
@ -1298,6 +1298,7 @@ EditorFileDialog::EditorFileDialog() {
|
|||
pathhb->add_child(refresh);
|
||||
|
||||
favorite = memnew(ToolButton);
|
||||
favorite->set_flat(true);
|
||||
favorite->set_toggle_mode(true);
|
||||
favorite->connect("toggled", this, "_favorite_toggled");
|
||||
pathhb->add_child(favorite);
|
||||
|
|
Loading…
Reference in a new issue