-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
fix borderless drag issues and add debug overlay to better test issues about draging area #4300
base: main
Are you sure you want to change the base?
Conversation
…s visible. Unfortunatly that overlay is not on top of everything, because dialogs are rendered in the top layer, which is on top of the z-index system.
…ways be clickable
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.
I have checked that the added DragRegionOverlay
is not relevant in production. But it would also be nice to not include its code in the production build.
As to essence of this MR: I haven't checked it thoroughly, because I'm not on Mac.
But in general not so many lines have been changed.
red is
drag
, green isno-drag
.How to use: go into electron dev tools, execute
exp.showDragAreas()
to toggle the overlay which makes drag areas visible.This is a useful tool to make the issues with it more tangible.
Fix some of the bugs:
todo? or make new issue:
closes #4018
closes #3926