QTfrontend/ui/widget/bgwidget.cpp
branchwebgl
changeset 8444 75db7bb8dce8
parent 8420 98e3cc0418f9
child 9080 9b42757d7e71
--- a/QTfrontend/ui/widget/bgwidget.cpp	Wed Jan 02 11:11:49 2013 +0100
+++ b/QTfrontend/ui/widget/bgwidget.cpp	Sun Jan 27 00:28:57 2013 +0100
@@ -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()