mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-09 02:07:04 +08:00
refactor(ui): simplify Button API with property setters
This commit is contained in:
@@ -5,8 +5,8 @@ ColumnLayout::ColumnLayout(Widget* parent) : Widget(parent) {}
|
||||
ColumnLayout::~ColumnLayout() {}
|
||||
|
||||
void ColumnLayout::update(float dt) {
|
||||
Widget::update(dt);
|
||||
layout();
|
||||
Widget::update(dt);
|
||||
}
|
||||
|
||||
float ColumnLayout::width() const {
|
||||
|
||||
Reference in New Issue
Block a user