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 /panel.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 'panel.lua')
| -rw-r--r-- | panel.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -24,8 +24,8 @@ function drawPanelButton(id) end end function drawStart() - panel.width = love.graphics.getWidth() - panel.y = love.graphics.getHeight() + panel.width = sys.w + panel.y = sys.h panel.y = panel.y - panel.thick panel.s.y = panel.y + 5 love.graphics.setColor(colors.win.normal) @@ -125,7 +125,7 @@ function drawMenuItems(id) love.graphics.setColor(colors.win.normal) end function drawMenu() - start.y = love.graphics.getHeight() + start.y = sys.h start.y = start.y-30-350+2 love.graphics.setCanvas(start.cvs) love.graphics.setColor(192, 192, 192) |
