Disable MyGUI's scrollbar autorepeat (Fixes #2779)

We are currently using a custom implementation so as to support MyGUI version 3.2.1. When compiled with 3.2.2 or later, we need to disable MyGUI's autorepeat so that it doesn't interfere with ours.
pull/669/head
scrawl 10 years ago
parent 9a115fedbc
commit 91d71d0fcd

@ -539,6 +539,9 @@ namespace MWGui
, mRepeatStepTime(0.1f)
, mIsIncreasing(true)
{
#if MYGUI_VERSION >= MYGUI_DEFINE_VERSION(3,2,2)
ScrollBar::setRepeatEnabled(false);
#endif
}
MWScrollBar::~MWScrollBar()

Loading…
Cancel
Save