diff options
| author | Chris B <1029chris@gmail.com> | 2016-06-10 19:44:26 -0700 |
|---|---|---|
| committer | Chris B <1029chris@gmail.com> | 2016-06-10 19:44:26 -0700 |
| commit | 4ec720afe5e2f712e5f73d79a6540e7feb29d482 (patch) | |
| tree | 98a94d628b7a317814524572da93a3b61269a544 /window.lua | |
| parent | c805934fb03808baeb688d3f629701b171b38873 (diff) | |
Fixed weird glitches
Diffstat (limited to 'window.lua')
| -rw-r--r-- | window.lua | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -151,9 +151,9 @@ function drawWindow(id) end if id == 4 and win[4].crazy == true then if win[4].crazyLeft == true and win[4].x >= 100 then - win[4].x = win[4].x - 10+v1.spm*sys.s + win[4].x = win[4].x - (10+v1.spm)*sys.s elseif win[4].crazyLeft == false and win[4].x <= sys.w-300 then - win[4].x = win[4].x + 10+v1.spm*sys.s + win[4].x = win[4].x + (10+v1.spm)*sys.s end if win[4].x <= 150 then win[4].crazyLeft = false @@ -161,9 +161,9 @@ function drawWindow(id) win[4].crazyLeft = true end if win[4].crazyUp == true and win[4].y >= sys.h/2+50 then - win[4].y = win[4].y - 6+v1.spm*sys.s + win[4].y = win[4].y - (6+v1.spm)*sys.s elseif win[4].crazyUp == false and win[4].y <= sys.h-panel.thick-200 then - win[4].y = win[4].y + 6+v1.spm*sys.s + win[4].y = win[4].y + (6+v1.spm)*sys.s end if win[4].y <= sys.h/2+50 then win[4].crazyUp = false |
