Skip to content

Commit 64a6d52

Browse files
committed
Allow larger event delays
1 parent 1c45244 commit 64a6d52

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

src/view/qml/Constants.qml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ QtObject {
2121

2222
readonly property int positionBarBorderWidth: 1
2323
readonly property double positionBarOpacity: 0.25
24+
25+
readonly property int maxEventDelay: 10000
2426
}

src/view/qml/Dialogs/ColumnSettingsDialog_TimingSettings.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ GroupBox {
2121
}
2222
SpinBox {
2323
id: delaySpinBox
24-
from: -10000
25-
to: 10000
24+
from: -Constants.maxEventDelay
25+
to: Constants.maxEventDelay
2626
editable: true
2727
Keys.onReturnPressed: focus = false
2828
onValueModified: columnSettingsModel.delay = value

src/view/qml/Dialogs/TrackSettingsDialog_TimingSettings.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ GroupBox {
5757
}
5858
SpinBox {
5959
id: delaySpinBox
60-
from: -999
61-
to: 999
60+
from: -Constants.maxEventDelay
61+
to: Constants.maxEventDelay
6262
editable: true
6363
Layout.column: 6
6464
Layout.row: 0

0 commit comments

Comments
 (0)