# HG changeset patch # User Sebastian Geerken # Date 1468753776 -7200 # Sun Jul 17 13:09:36 2016 +0200 # Node ID 72c9d5f9372bdc2fb7aecd34a810dfa2f57aca8d # Parent 072f0c158c668b5ba5ed01b5f77ebb679ab3b6fe Fix Layout::viewportSizeChanged. diff --git a/dw/layout.cc b/dw/layout.cc --- a/dw/layout.cc +++ b/dw/layout.cc @@ -1301,15 +1301,13 @@ /* 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 ();