I imagine this should use the game window width, but I'll let someone else figure it out. I'm just sick of frames being half-visible in navigation.
authornemo
Sat, 17 Mar 2012 16:14:08 -0400
changeset 6791 6907194f2c57
parent 6790 e688db01bc9c
child 6792 f72c8b5d421c
I imagine this should use the game window width, but I'll let someone else figure it out. I'm just sick of frames being half-visible in navigation.
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Sat Mar 17 14:24:43 2012 -0400
+++ b/QTfrontend/hwform.cpp	Sat Mar 17 16:14:08 2012 -0400
@@ -638,7 +638,7 @@
         //New page animation
         animationNewSlide = new QPropertyAnimation(ui.Pages->widget(id), "pos");
         animationNewSlide->setDuration(duration);
-        animationNewSlide->setStartValue(QPoint(width()/coeff, 0));
+        animationNewSlide->setStartValue(QPoint(20000/coeff, 0));
         animationNewSlide->setEndValue(QPoint(0, 0));
         animationNewSlide->setEasingCurve(QEasingCurve::OutExpo);
 
@@ -656,7 +656,7 @@
         animationOldSlide = new QPropertyAnimation(ui.Pages->widget(lastid), "pos");
         animationOldSlide->setDuration(duration);
         animationOldSlide->setStartValue(QPoint(0, 0));
-        animationOldSlide->setEndValue(QPoint(-width()/coeff, 0));
+        animationOldSlide->setEndValue(QPoint(-20000/coeff, 0));
         animationOldSlide->setEasingCurve(QEasingCurve::OutExpo);
 
 #ifdef false