Browse Source

Fixed issue with forms not being resized properly when the game window is resized.

sgrenier 11 năm trước cách đây
mục cha
commit
24281dda3b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      gameplay/src/Form.cpp

+ 1 - 1
gameplay/src/Form.cpp

@@ -969,7 +969,7 @@ void Form::resizeEventInternal(unsigned int width, unsigned int height)
         if (form)
         if (form)
         {
         {
             // Dirty the form
             // Dirty the form
-            form->setDirty(Control::DIRTY_STATE);
+            form->setDirty(Control::DIRTY_BOUNDS | Control::DIRTY_STATE);
         }
         }
     }
     }
 }
 }