set minimum value for timer

pull/1/head
Michail Vourlakos 8 years ago
parent 789cdd9b47
commit 0c246c2954

@ -446,7 +446,7 @@ Item {
Timer{
id:checkListHovered
repeat:false;
interval: 2 * (root.durationTime * 1.2 * units.shortDuration) + 50;
interval: Math.max(120, 2 * (root.durationTime * 1.2 * units.shortDuration) + 50)
onTriggered: {
if (!root.containsMouse()) {

Loading…
Cancel
Save