WindowVX: Fix padding rect not updating on size change
This commit is contained in:
parent
bce4eb2bee
commit
3277663944
|
@ -934,6 +934,7 @@ void WindowVX::setWidth(int value)
|
|||
p->geo.w = std::max(0, value);
|
||||
p->base.vertDirty = true;
|
||||
p->base.texSizeDirty = true;
|
||||
p->clipRectDirty = true;
|
||||
p->ctrlVertDirty = true;
|
||||
}
|
||||
|
||||
|
@ -946,6 +947,7 @@ void WindowVX::setHeight(int value)
|
|||
p->geo.h = std::max(0, value);
|
||||
p->base.vertDirty = true;
|
||||
p->base.texSizeDirty = true;
|
||||
p->clipRectDirty = true;
|
||||
p->ctrlVertDirty = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue