diff --git a/modules/you_done_it/pinned_photo.cpp b/modules/you_done_it/pinned_photo.cpp index c49dc061..7db7bab2 100644 --- a/modules/you_done_it/pinned_photo.cpp +++ b/modules/you_done_it/pinned_photo.cpp @@ -46,7 +46,9 @@ void PinnedPhoto::on_input_event(Viewport *viewport, Ref event, int this->conclusion_field->notify_photo_picked(this); this->conclusion_field = nullptr; } - this->popup_container->set_visible(true); + set_global_rotation(0); + this->popup_container->set_visible(!this->popup_label->get_text().is_empty()); + this->get_parent()->move_child(this, this->get_parent()->get_child_count() - 1); } }