mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 18:48:59 +02:00
Changes as requested by zfox23 - Start and stop timers on hover only if scroll is enabled.
This commit is contained in:
parent
5a8da4ce97
commit
50b0a458ce
1 changed files with 6 additions and 2 deletions
|
@ -143,11 +143,15 @@ Column {
|
|||
shadowHeight: root.stackedCardShadowHeight;
|
||||
hoverThunk: function () {
|
||||
hovered = true;
|
||||
autoScrollTimer.stop();
|
||||
if(root.autoScrollTimerEnabled) {
|
||||
autoScrollTimer.stop();
|
||||
}
|
||||
}
|
||||
unhoverThunk: function () {
|
||||
hovered = false;
|
||||
autoScrollTimer.start();
|
||||
if(root.autoScrollTimerEnabled) {
|
||||
autoScrollTimer.start();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue