QTfrontend/ui/widget/bgwidget.cpp
changeset 8393 85bd6c7b2641
parent 6952 7f70f37bbf08
child 8420 98e3cc0418f9
--- a/QTfrontend/ui/widget/bgwidget.cpp	Tue Jan 15 00:52:29 2013 -0500
+++ b/QTfrontend/ui/widget/bgwidget.cpp	Wed Jan 16 18:34:43 2013 -0500
@@ -176,6 +176,8 @@
         int ydiff = newPos.y() - oldPos.y();
         update(oldPos.x(), oldPos.y(), xdiff+sprite.width(), ydiff+sprite.height());
     }
+
+    repaint(); // Repaint every frame. Prevents ghosting of widgets if widgets resize in runtime.
 }
 
 void BGWidget::startAnimation()