PagesControl, refactor

This commit is contained in:
MihailRis
2023-11-20 03:31:18 +03:00
parent 41f9c51a27
commit 4ea7bda249
15 changed files with 339 additions and 117 deletions
+1 -2
View File
@@ -52,7 +52,6 @@ UINode* UINode::getParent() const {
void UINode::click(GUI*, int x, int y) {
pressed_ = true;
focused_ = true;
}
void UINode::mouseRelease(GUI*, int x, int y) {
@@ -103,7 +102,7 @@ void UINode::size(vec2 size) {
this->size_ = size;
if (parent) {
sizelock = true;
parent->refresh();
//parent->refresh();
sizelock = false;
}
}