Переглянути джерело

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

sgrenier 11 роки тому
батько
коміт
24281dda3b
1 змінених файлів з 1 додано та 1 видалено
  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)
         {
             // Dirty the form
-            form->setDirty(Control::DIRTY_STATE);
+            form->setDirty(Control::DIRTY_BOUNDS | Control::DIRTY_STATE);
         }
     }
 }