undoing some auto align stuff

This commit is contained in:
2023-12-23 23:55:27 -06:00
parent 9822b1a57f
commit 242fa63e9c
11 changed files with 75 additions and 88 deletions

View File

@@ -16,20 +16,20 @@ void UIElement::getSelfQuads(UICanvas &ctx) {
//Do nothing
}
float_t UIElement::getSelfWidth() {
float_t UIElement::getContentWidth() {
return 0.0f;
}
float_t UIElement::getSelfHeight() {
float_t UIElement::getContentHeight() {
return 0.0f;
}
float_t UIElement::getWidth() {
return this->getSelfWidth();
return this->getContentWidth();
}
float_t UIElement::getHeight() {
return this->getSelfHeight();
return this->getContentHeight();
}
void UIElement::getQuads(UICanvas &ctx) {