mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 19:53:53 +00:00
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.
This commit is contained in:
parent
9a115fedbc
commit
91d71d0fcd
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue