mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 16:18:05 +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;
|
shadowHeight: root.stackedCardShadowHeight;
|
||||||
hoverThunk: function () {
|
hoverThunk: function () {
|
||||||
hovered = true;
|
hovered = true;
|
||||||
autoScrollTimer.stop();
|
if(root.autoScrollTimerEnabled) {
|
||||||
|
autoScrollTimer.stop();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
unhoverThunk: function () {
|
unhoverThunk: function () {
|
||||||
hovered = false;
|
hovered = false;
|
||||||
autoScrollTimer.start();
|
if(root.autoScrollTimerEnabled) {
|
||||||
|
autoScrollTimer.start();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue