Skip to content

PopupMenu: update position and fix size before tweening out #8046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 21, 2018

Conversation

itzexor
Copy link
Contributor

@itzexor itzexor commented Nov 21, 2018

We update the position on allocate() but skip this if we're tweening.
Updating it here ensures it's correct before we start animating,
and setting a fixed size should keep it from automatically resizing.

master:
menu-master

this branch:
menu-patch

We update the position on allocate() but skip this if we're tweening.
Updating it here ensures it's correct before we start animating,
and setting a fixed size should keep it from automatically resizing.
@clefebvre clefebvre merged commit 2cfff16 into linuxmint:master Nov 21, 2018
Curly060 pushed a commit to Curly060/Cinnamon that referenced this pull request Jan 2, 2019
…t#8046)

* PopupMenu: update position and fix size before tweening out

We update the position on allocate() but skip this if we're tweening.
Updating it here ensures it's correct before we start animating,
and setting a fixed size should keep it from automatically resizing.

* put the code in the proper place
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants