diff options
| author | 1029chris <1029chris@gmail.com> | 2016-06-10 13:10:41 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-06-10 13:10:41 -0700 |
| commit | c805934fb03808baeb688d3f629701b171b38873 (patch) | |
| tree | 969f81ed85a1e1c21a2686ab5a488918b9dee420 /window.lua | |
| parent | 25774367a92a93bb7d4e810b3ce4e54f93a155f9 (diff) | |
Made window open animation more smooth
Adjusted animation speed setting
Diffstat (limited to 'window.lua')
| -rw-r--r-- | window.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -121,9 +121,9 @@ function drawWindow(id) win[id].ex = true end if win[id].ex == true and win[id].s ~= 0 then - win[id].s = win[id].s - 0.2*sys.s + win[id].s = win[id].s - (0.4*win[id].s)*sys.s elseif win[id].ex == false and win[id].s ~= 0 then - win[id].s = win[id].s + 0.2*sys.s + win[id].s = win[id].s + (0.075/win[id].s)*sys.s end if win[id].s > 1 then win[id].s = 1 |
