diff options
| author | 1029chris <1029chris@gmail.com> | 2016-02-25 14:28:48 -0800 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-02-25 14:28:48 -0800 |
| commit | dd907df5b8f45aeb9c4de49d35593bf1ac7d4186 (patch) | |
| tree | 9d34bf9ab9635ca82d9fa78af8cfb46ee49cb69c /system.lua | |
| parent | 8bd7800d1941283059354740bd833ed6408d56fa (diff) | |
Added global hover variable
Diffstat (limited to 'system.lua')
| -rw-r--r-- | system.lua | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7,6 +7,10 @@ function drawSystem() orderWindow(4) orderWindow(5) orderWindow(6) + if (win[1].hov == false and win[2].hov == false and win[3].hov == false + and win[4].hov == false and win[5].hov == false and win[6].hov == false) then + winHover = false + end if(sys.mouse.p.p == true and start.p == false and sys.mouse.p.x >= panel.s.x and sys.mouse.p.x <= panel.s.x+panel.s.width and sys.mouse.p.y >= panel.s.y and sys.mouse.p.y <= panel.s.y+panel.s.height) then |
