Pārlūkot izejas kodu

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

sgrenier 11 gadi atpakaļ
vecāks
revīzija
24281dda3b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);
         }
     }
 }