mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
PagesControl, refactor
This commit is contained in:
parent
41f9c51a27
commit
4ea7bda249
15 changed files with 339 additions and 117 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue