fixed an issue related to flipping and bigger viewport
This commit is contained in:
parent
3b97f88db4
commit
0c193741dd
@ -157,7 +157,11 @@ void AOCharMovie::combo_resize(int w, int h)
|
|||||||
void AOCharMovie::frame_change(int n_frame)
|
void AOCharMovie::frame_change(int n_frame)
|
||||||
{
|
{
|
||||||
if (m_flipped && flipped_movie.size() > n_frame)
|
if (m_flipped && flipped_movie.size() > n_frame)
|
||||||
this->setPixmap(QPixmap::fromImage(flipped_movie.at(n_frame)));
|
{
|
||||||
|
QPixmap f_pixmap = QPixmap::fromImage(flipped_movie.at(n_frame));
|
||||||
|
|
||||||
|
this->setPixmap(f_pixmap.scaled(this->width(), this->height()));
|
||||||
|
}
|
||||||
|
|
||||||
if (m_movie->frameCount() - 1 == n_frame && play_once)
|
if (m_movie->frameCount() - 1 == n_frame && play_once)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user