-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
feat(window): drag resize window #208
Conversation
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 wonder is it possible to do this in panel? I mean creating some div around the frame to detect if it needs to send drag event.
It's possible, but I think that won't be necessary and may be inefficient since events are doing a round-trip, and it will spam events between verso and webview. We'll need to check the pointer move event when the pointer is on the DIV and constantly report to Verso to change the cursor icon. Also, the DIV may block the interaction of some DOM elements under it, increasing the maintenance effort to avoid those elements being overlapped. |
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 see. Let's keep current plan then.
No description provided.