Skip to content

Commit 069c3c4

Browse files
committed
slider unresponsive bug
1 parent ee0f632 commit 069c3c4

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

SimpleWallScript.ahk

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ resetList:=[]
3939
defaultPadding=0
4040
inGame := false
4141
previousInstanceCount:=0
42-
instanceChange := false
42+
layoutChange := false
4343

4444
SysGet, screenWidth, 61
4545
SysGet, screenHeight, 62
@@ -220,8 +220,8 @@ gui, add, text, x%t1% y%tablePosY% w2 h%t3% 0x7
220220
gui, add, text, x%tablePosX% y%t2% w%tableWidth% h2 0x7
221221

222222
; vertical and horizontal slider
223-
Gui, Add, Slider, +E0x20 0 cRed x%tablePosX% y%t4% w%t5% h23 GSliderCol NoTicks ToolTip Range1-7 cBlack gcolumnSlider vhorizontalSlider, 2
224-
Gui, Add, Slider, +E0x20 0 cRed x%t6% y%tablePosY% w23 h%tableHeight% GSliderRow NoTicks Left Range1-7 Invert Vertical cBlack gverticalSlider vverticalSlider, 2
223+
Gui, Add, Slider, +E0x20 0 cRed x%tablePosX% y%t4% w%t5% h23 GSliderCol NoTicks ToolTip Range1-7 cBlack vhorizontalSlider, 2
224+
Gui, Add, Slider, +E0x20 0 cRed x%t6% y%tablePosY% w23 h%tableHeight% GSliderRow NoTicks Left Range1-7 Invert Vertical cBlack vverticalSlider, 2
225225

226226

227227
; title text
@@ -355,11 +355,6 @@ NewResetHotKey:
355355
newHotKeyInput(defaultResetKey, newKey, routine)
356356
return
357357

358-
columnSlider:
359-
verticalSlider:
360-
instanceChange:=true
361-
return
362-
363358
NewPadding:
364359
return
365360

@@ -369,6 +364,7 @@ sliderRow:
369364
hideAllLines()
370365
displayLines(horizontalSlider, false)
371366
displayLines(verticalSlider, true)
367+
layoutChange:=true
372368
return
373369

374370
minimize:

0 commit comments

Comments
 (0)