diff --git a/YACReader/page_label_widget.cpp b/YACReader/page_label_widget.cpp index c3b3430c..e7ec979c 100644 --- a/YACReader/page_label_widget.cpp +++ b/YACReader/page_label_widget.cpp @@ -11,6 +11,7 @@ PageLabelWidget::PageLabelWidget(QWidget * parent) { animation = new QPropertyAnimation(this,"pos"); animation->setDuration(150); + animation->setEndValue(QPoint((parent->geometry().size().width()-this->width()),-this->height())); int verticalRes = QApplication::desktop()->screenGeometry().height();