mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
fixed initial information label position
This commit is contained in:
parent
cd4c86a80c
commit
fe3cbf2efe
@ -112,5 +112,10 @@ void PageLabelWidget::updatePosition()
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
move(QPoint((parent->geometry().size().width()-this->width()),this->pos().y()));
|
|
||||||
|
animation->stop();
|
||||||
|
if (animation->endValue().toPoint().y() == 0)
|
||||||
|
move(QPoint((parent->geometry().size().width()-this->width()),0));
|
||||||
|
else
|
||||||
|
move(QPoint((parent->geometry().size().width()-this->width()),-this->height()));
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user