About implementing custom window drag-and-drop #4326
Unanswered
zhangxichang
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
You may try ctx.send_viewport_cmd(egui::ViewportCommand::StartDrag); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here is my code to implement window drag and drop. However, there is a problem that the window will blur during drag and drop, and the window will not move in sync with the mouse.
Here is my code to implement window drag and drop.
Beta Was this translation helpful? Give feedback.
All reactions