fix: redraw when adding a widget
This commit is contained in:
parent
d118a998ad
commit
af23416c4e
1 changed files with 1 additions and 0 deletions
|
@ -208,6 +208,7 @@ end
|
|||
|
||||
function Menu:addWidget(newwidget)
|
||||
self.widget:addWidget(newwidget)
|
||||
self.canvas.needRedraw = true
|
||||
end
|
||||
|
||||
function Menu:setCancelWidget(id)
|
||||
|
|
Loading…
Reference in a new issue