Merge pull request #15230 from RyanStein/bugfix-14989

Move Project Manager favorite icon back to center.
This commit is contained in:
Rémi Verschelde 2018-01-02 11:34:30 +01:00 committed by GitHub
commit 9821562b30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1039,9 +1039,9 @@ void ProjectManager::_load_recent_projects() {
favorite->set_normal_texture(favorite_icon);
if (!is_favorite)
favorite->set_modulate(Color(1, 1, 1, 0.2));
favorite->set_v_size_flags(SIZE_EXPAND);
favorite->connect("pressed", this, "_favorite_pressed", varray(hb));
favorite_box->add_child(favorite);
favorite_box->set_alignment(BoxContainer::ALIGN_CENTER);
hb->add_child(favorite_box);
TextureRect *tf = memnew(TextureRect);