diff options
| author | 1029chris <1029chris@gmail.com> | 2016-06-09 13:50:25 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-06-09 13:50:25 -0700 |
| commit | e8e4af62cad224bdb028ffcf730d7c5c8c2b7482 (patch) | |
| tree | a1886853deb2606327d4a9c63ce1e97eabd81cc5 /var.lua | |
| parent | 7b0bc171d659ff4a0dddc724860fdd09f42b08b3 (diff) | |
Changed some variables
sys.width and sys.height removed
love.graphics.getHeight changed to sys.h, same with width
Diffstat (limited to 'var.lua')
| -rw-r--r-- | var.lua | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -40,7 +40,7 @@ function loadVar() panel.thick = 30 panel.x = 0 panel.y = 600-panel.thick - panel.width = sys.width + panel.width = sys.w panel.height = panel.thick panel.s = {} panel.s.x = panel.x + 5 @@ -70,7 +70,7 @@ function loadVar() end winOpen = true winHover = false - minim = love.graphics.getHeight()+10 + minim = sys.h+10 start = {} start.cvs = love.graphics.newCanvas(250, 350) start.o = false @@ -292,8 +292,6 @@ function loadPre() fadeOpacity = 0 sys = {} sys.s = 0 - sys.width = love.graphics.getWidth() - sys.height = love.graphics.getHeight() sys.mouse = {} sys.mouse.p = {} sys.mouse.x = love.mouse.getX |
