Context menu mostly done

This commit is contained in:
airstruck
2015-12-21 16:14:05 -05:00
parent 147de8e010
commit 2d0dec2c70
4 changed files with 46 additions and 8 deletions

View File

@@ -3,7 +3,6 @@ local ROOT = (...):gsub('[^.]*$', '')
local Backend = require(ROOT .. 'backend')
local Base = require(ROOT .. 'base')
local Event = require(ROOT .. 'event')
local Font = Backend.Font
local Text = Backend.Text
local Painter = Base:extend()
@@ -277,8 +276,7 @@ function Painter:paintIconAndText ()
end
function Painter:paintChildren ()
local widget = self.widget
for i, child in ipairs(widget) do
for i, child in ipairs(self.widget) do
child:paint()
end
end