mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Viewport: enable “scroll on drag” mode by default on Android and iOS.
This commit is contained in:
parent
37d151cdce
commit
bbf6053544
2 changed files with 27 additions and 0 deletions
|
|
@ -38,6 +38,10 @@ Viewport::Viewport (const String& name) : Component (name)
|
|||
setInterceptsMouseClicks (false, true);
|
||||
setWantsKeyboardFocus (true);
|
||||
|
||||
#if JUCE_ANDROID || JUCE_IOS
|
||||
setScrollOnDragEnabled (true);
|
||||
#endif
|
||||
|
||||
recreateScrollbars();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue