diff options
| author | 1029chris <1029chris@gmail.com> | 2016-04-10 12:52:04 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-04-10 12:52:04 -0700 |
| commit | 078d3076a138f379e56d555c4927623eeee7b5f1 (patch) | |
| tree | 100ea34b4679a449203d2300045bd1a9186db7da | |
| parent | f56dd94334559d026922cd1ef81e1a6a506d239a (diff) | |
Fixed settings menu glitch
it would change the background while dragging
the window around.
| -rw-r--r-- | settings.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.lua b/settings.lua index 3633198..84727f3 100644 --- a/settings.lua +++ b/settings.lua @@ -50,7 +50,7 @@ function drawBgSel(i) end function updateSettings() for i=1,6 do - if (layer[1] == 6 and win[6].hover == true and sys.mouse.p.p == true and + if (layer[1] == 6 and win[6].hover == true and sys.mouse.p.p == true and sys.mouse.drag == false and sys.mouse.p.x >= win[6].x+263 and sys.mouse.p.x <= win[6].x+263+120 and sys.mouse.p.y >= win[6].y+70+(20*(i-1)) and sys.mouse.y <= win[6].y+70+(20*(i-1))+20) then for i=1,6 do |
