This commit is contained in:
kepler155c@gmail.com
2019-11-16 22:12:02 -07:00
parent efa1a5bbf5
commit a3a8c64be8
18 changed files with 123 additions and 46 deletions

View File

@@ -51,6 +51,7 @@ function UI.MenuBar:addButtons(buttons)
x = self.lastx,
width = #(button.text or 'button') + self.spacing,
centered = false,
backgroundColor = self.backgroundColor,
}
self.lastx = self.lastx + buttonProperties.width
UI:mergeProperties(buttonProperties, button)