4646Spectate = defclass (Spectate , widgets .Window )
4747Spectate .ATTRS {
4848 frame_title = ' Spectate' ,
49- frame = {l = 5 , t = 5 , w = 36 , h = 41 },
49+ frame = {l = 5 , t = 5 , w = 36 , h = 42 },
5050}
5151
5252local function create_toggle_button (frame , cfg_elem , hotkey , label , cfg_elem_key )
@@ -207,29 +207,29 @@ function Spectate:init()
207207 frame_style_r = false ,
208208 },
209209 widgets .Label {
210- frame = {t = 17 , l = 0 },
210+ frame = {t = 18 , l = 0 },
211211 text = " Tooltips:"
212212 },
213213 ToggleLabel {
214- frame = {t = 17 , l = 12 },
214+ frame = {t = 18 , l = 12 },
215215 initial_option = overlay .isOverlayEnabled (OVERLAY_NAME ),
216216 on_change = function (val ) dfhack .run_command (' overlay' , val and ' enable' or ' disable' , OVERLAY_NAME ) end ,
217217 key = ' CUSTOM_ALT_O' ,
218218 label = " Overlay " ,
219219 },
220220 widgets .Label {
221- frame = {t = 19 , l = colFollow },
221+ frame = {t = 20 , l = colFollow },
222222 text = ' Follow' ,
223223 },
224224 widgets .Label {
225- frame = {t = 19 , l = colHover },
225+ frame = {t = 20 , l = colHover },
226226 text = ' Hover' ,
227227 },
228- create_row ({t = 21 }, ' Enabled' , ' E' , ' ' , colFollow , colHover ),
228+ create_row ({t = 22 }, ' Enabled' , ' E' , ' ' , colFollow , colHover ),
229229
230- create_numeric_edit_field ({t = 23 }, ' tooltip-follow-blink-milliseconds' , ' CUSTOM_B' , ' Blink period (ms): ' ),
230+ create_numeric_edit_field ({t = 24 }, ' tooltip-follow-blink-milliseconds' , ' CUSTOM_B' , ' Blink period (ms): ' ),
231231 widgets .CycleHotkeyLabel {
232- frame = {t = 24 },
232+ frame = {t = 25 },
233233 key = ' CUSTOM_C' ,
234234 label = " Hold to show:" ,
235235 options = {
@@ -242,11 +242,11 @@ function Spectate:init()
242242 on_change = function (new , _ ) dfhack .run_command (' spectate' , ' set' , ' tooltip-follow-hold-to-show' , new ) end
243243 },
244244
245- create_row ({t = 26 }, ' Job' , ' J' , ' job' , colFollow , colHover ),
246- create_row ({t = 27 }, ' Activity' , ' A' , ' activity' , colFollow , colHover ),
247- create_row ({t = 28 }, ' Name' , ' N' , ' name' , colFollow , colHover ),
248- create_row ({t = 29 }, ' Stress' , ' S' , ' stress' , colFollow , colHover ),
249- create_stress_list ({t = 30 }, colFollow , colHover ),
245+ create_row ({t = 27 }, ' Job' , ' J' , ' job' , colFollow , colHover ),
246+ create_row ({t = 28 }, ' Activity' , ' A' , ' activity' , colFollow , colHover ),
247+ create_row ({t = 29 }, ' Name' , ' N' , ' name' , colFollow , colHover ),
248+ create_row ({t = 30 }, ' Stress' , ' S' , ' stress' , colFollow , colHover ),
249+ create_stress_list ({t = 31 }, colFollow , colHover ),
250250 }
251251end
252252
0 commit comments