mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
add files filter to the editor
This commit is contained in:
parent
3a4b334d0b
commit
b9c2b0ba40
3 changed files with 56 additions and 23 deletions
|
|
@ -306,8 +306,8 @@ void UINode::reposition() {
|
|||
defsize = parent->getSize();
|
||||
}
|
||||
setSize(
|
||||
{newSize.x < 0 ? defsize.x : newSize.x,
|
||||
newSize.y < 0 ? defsize.y : newSize.y}
|
||||
{newSize.x < 0 ? defsize.x + (newSize.x + 1) : newSize.x,
|
||||
newSize.y < 0 ? defsize.y + (newSize.y + 1) : newSize.y}
|
||||
);
|
||||
}
|
||||
if (positionfunc) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue