summaryrefslogtreecommitdiff
path: root/dw/layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/layout.cc')
-rw-r--r--dw/layout.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/dw/layout.cc b/dw/layout.cc
index 32586cd5..09e27cdb 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -1301,13 +1301,15 @@ void Layout::viewportSizeChanged (View *view, int width, int height)
/* If size changes, redraw this view. */
if (viewportWidth != width || viewportHeight != height) {
+ canvasHeightGreater = false; // reset value here
viewportWidth = width;
viewportHeight = height;
+ containerSizeChanged ();
+ DBG_OBJ_SET_SYM ("canvasHeightGreater",
+ canvasHeightGreater ? "true" : "false");
DBG_OBJ_SET_NUM ("viewportWidth", viewportWidth);
DBG_OBJ_SET_NUM ("viewportHeight", viewportHeight);
-
- containerSizeChanged ();
}
DBG_OBJ_LEAVE ();