-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Scrolling by dragging on 'empty space'? #1689
Comments
You can use invisible button covering whole screen to grab input and handle dragging. Just remember to use it at very end of your UI. Let me know if you need more clues. |
Now that we have |
Mobile will do this on one finger. So if that is the main use case perhaps we should stay consistent to what the use probably expects... |
FYI I posted code to do #3379 to do this. |
Hi! This is a great lib and it's been working well with just small integration code. :) I'm using it in an iPad / iPhone context and was wondering if it's possible to easily enable scrolling when a user clicks and drags in 'empty space' in the window? Sort of like how it happens on most mainstream UIs on iOS and Android these days.
In the demo window included with imgui it says, "Click and drag on any empty space to move window." -- I basically want this but instead of moving the parent window, to move the containing scroll region. Thanks! :)
The text was updated successfully, but these errors were encountered: