-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Make non interactable layers not interact #1240
Make non interactable layers not interact #1240
Conversation
Update: fixed |
I'm not sure why the |
I don't know why it was written like that, and it is likely unintentional. However, there is something else wrong, because your PR breaks the |
Hmm. Yeah, I see that, it's interesting that it works fine on the web version but not the native one. I'm investigating |
@emilk so I finally figured out what's wrong with that menu. It's a stale The Deleting that file fixes the issue. Do we have any mechanism to either migrate old save states or delete them if they are incompatible? |
@juancampa nice debugging! I think the proper fix is to reset let mut state = state.unwrap_or_else(|| State {
pos: default_pos.unwrap_or_else(|| automatic_area_position(ctx)),
size: Vec2::ZERO,
interactable,
});
state.pos = new_pos.unwrap_or(state.pos);
state.interactable = interactable; // <--- ADDED |
I had the same thought last night. Fixed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix, thanks!
Areas in the Tooltip layer shouldn't block interactions to layers below them. Currently, layers under a tooltip won't get hovered if there's a tooltip covering it. Causing the flickering seen in #1239
Closes #1239 - Tooltips flicker when they can't fit on the screen