diff options
| author | Chris B <1029chris@gmail.com> | 2016-02-25 20:05:39 -0800 |
|---|---|---|
| committer | Chris B <1029chris@gmail.com> | 2016-02-25 20:05:39 -0800 |
| commit | e1e1f5d58f68ffc03e8010f164f8aa4d605f3b63 (patch) | |
| tree | 3e043918d54afcbd8a0a3f60e80411894eff25f4 /panel.lua | |
| parent | a8b606be2dcdbd345d3f67d5c44275360f7a91e0 (diff) | |
Rewrote layer system, I hope it works this time...
Diffstat (limited to 'panel.lua')
| -rw-r--r-- | panel.lua | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -8,8 +8,7 @@ function drawPanelButton(id) and sys.mouse.p.x <= (panel.s.x+72+(137*id-137))+(panel.s.width*2) and sys.mouse.p.y >= panel.s.y and sys.mouse.p.y <= panel.s.y+panel.s.height) then if win[panel.b[id]].min == false then - win[panel.b[id]].oldlayer = win[panel.b[id]].layer - win[panel.b[id]].layer = 1 + layer.sentToFront = panel.b[id] elseif win[panel.b[id]].min == true then win[panel.b[id]].min = false win[panel.b[id]].oldlayer = win[panel.b[id]].layer |
