From 32776639442ec1fc4a995775a81b75eb4368a56d Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Fri, 15 Aug 2014 23:35:52 +0200 Subject: [PATCH] WindowVX: Fix padding rect not updating on size change --- src/windowvx.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/windowvx.cpp b/src/windowvx.cpp index 8ff295f..2f3636e 100644 --- a/src/windowvx.cpp +++ b/src/windowvx.cpp @@ -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; }