Skip to content

Commit

Permalink
slider unresponsive bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Snacksy committed Dec 20, 2022
1 parent ee0f632 commit 069c3c4
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions SimpleWallScript.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ resetList:=[]
defaultPadding=0
inGame := false
previousInstanceCount:=0
instanceChange := false
layoutChange := false

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

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


; title text
Expand Down Expand Up @@ -355,11 +355,6 @@ NewResetHotKey:
newHotKeyInput(defaultResetKey, newKey, routine)
return

columnSlider:
verticalSlider:
instanceChange:=true
return

NewPadding:
return

Expand All @@ -369,6 +364,7 @@ sliderRow:
hideAllLines()
displayLines(horizontalSlider, false)
displayLines(verticalSlider, true)
layoutChange:=true
return

minimize:
Expand Down

0 comments on commit 069c3c4

Please sign in to comment.