@@ -56,19 +56,6 @@ UIWidget
56
56
!text: tr('Enable smart walking')
57
57
!tooltip: tr('Will detect when to use diagonal step based on the\nkeys you are pressing')
58
58
59
- SmallReversedQtPanel
60
- anchors.left: parent.left
61
- anchors.right: parent.right
62
- anchors.top: prev.bottom
63
- margin-top: 7
64
- height: 22
65
-
66
- OptionCheckBoxMarked
67
- id: preciseControl
68
- !text: tr('Enable precise control')
69
- !tooltip: tr('You will have more precision over the character walking,\nbut it can feel more abrupt or unnatural')
70
- @onCheckChange: g_game.setScheduleLastWalk(not self:isChecked())
71
-
72
59
SmallReversedQtPanel
73
60
anchors.left: parent.left
74
61
anchors.right: parent.right
@@ -92,41 +79,77 @@ UIWidget
92
79
!text: tr('Display text messages')
93
80
94
81
SmallReversedQtPanel
82
+ id: hotkeyDelay_label
95
83
anchors.left: parent.left
96
84
anchors.right: parent.right
97
85
anchors.top: prev.bottom
98
86
margin-top: 7
99
87
height: 22
100
88
101
89
OptionScaleScroll
102
- id: turnDelay
103
- !text: tr('Turn delay: 30ms')
90
+ id: hotkeyDelay
91
+ !text: tr('Hotkey delay: 30ms')
104
92
anchors.fill: parent
105
93
&minimumScrollValue: 30
106
94
&maximumScrollValue: 250
107
95
&scrollSize: 21
108
96
@onSetup: |
109
- local value = modules.client_options.getOption('turnDelay ')
110
- self:setText(tr('Turn delay: %dms', value))
97
+ local value = modules.client_options.getOption('hotkeyDelay ')
98
+ self:setText(tr('Hotkey delay: %dms', value))
111
99
112
100
SmallReversedQtPanel
113
- id: hotkeyDelay_label
114
101
anchors.left: parent.left
115
102
anchors.right: parent.right
116
103
anchors.top: prev.bottom
117
104
margin-top: 7
118
105
height: 22
119
106
120
107
OptionScaleScroll
121
- id: hotkeyDelay
122
- !text: tr('Hotkey delay: 30ms')
108
+ id: walkFirstStepDelay
109
+ !text: tr('Walk Delay after first step: 50ms')
110
+ anchors.fill: parent
111
+ &minimumScrollValue: 50
112
+ &maximumScrollValue: 500
113
+ &scrollSize: 21
114
+ @onSetup: |
115
+ local value = modules.client_options.getOption('walkFirstStepDelay')
116
+ self:setText(tr('Walk Delay after first step: %dms', value))
117
+
118
+ SmallReversedQtPanel
119
+ anchors.left: parent.left
120
+ anchors.right: parent.right
121
+ anchors.top: prev.bottom
122
+ margin-top: 7
123
+ height: 22
124
+
125
+ OptionScaleScroll
126
+ id: walkTurnDelay
127
+ !text: tr('Walk delay after turn: 50ms')
128
+ anchors.fill: parent
129
+ &minimumScrollValue: 50
130
+ &maximumScrollValue: 500
131
+ &scrollSize: 21
132
+ @onSetup: |
133
+ local value = modules.client_options.getOption('walkTurnDelay')
134
+ self:setText(tr('Walk delay after turn: %dms', value))
135
+
136
+ SmallReversedQtPanel
137
+ anchors.left: parent.left
138
+ anchors.right: parent.right
139
+ anchors.top: prev.bottom
140
+ margin-top: 7
141
+ height: 22
142
+
143
+ OptionScaleScroll
144
+ id: turnDelay
145
+ !text: tr('Turn delay: 30ms')
123
146
anchors.fill: parent
124
147
&minimumScrollValue: 30
125
148
&maximumScrollValue: 250
126
149
&scrollSize: 21
127
150
@onSetup: |
128
- local value = modules.client_options.getOption('hotkeyDelay ')
129
- self:setText(tr('Hotkey delay: %dms', value))
151
+ local value = modules.client_options.getOption('turnDelay ')
152
+ self:setText(tr('Turn delay: %dms', value))
130
153
131
154
QtButton
132
155
id: hotkeysButton
0 commit comments