diff options
| author | Crystalwarrior <varsash@gmail.com> | 2019-10-03 23:17:21 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2019-10-03 23:17:21 +0300 |
| commit | 9451822e0929643f638b3c79d4fd646df98b567a (patch) | |
| tree | f18b162136df795f36a318d8a2775d8cdacd75ac /src/aocharmovie.cpp | |
| parent | cfc3312840ed9053dd1a8a292f3d0c1f818dc3a7 (diff) | |
Fix move func making characters slowly move to the left every frame on animated chars which are sized differently from viewport
Add a new get_qfont function
Fix message box font being different from every other font due to incorrect font loading scheme
Fix ui_evidence_save and ui_evidence_load tooltips being wrong
Diffstat (limited to 'src/aocharmovie.cpp')
| -rw-r--r-- | src/aocharmovie.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aocharmovie.cpp b/src/aocharmovie.cpp index 6f6c3a17..f8dc8d2b 100644 --- a/src/aocharmovie.cpp +++ b/src/aocharmovie.cpp @@ -240,7 +240,7 @@ QPixmap AOCharMovie::get_pixmap(QImage image) f_pixmap = f_pixmap.scaledToHeight(f_h, transform_mode); this->resize(f_pixmap.size()); - this->move(x + (f_w - f_pixmap.width())/2, y + (f_h - f_pixmap.height())); //Always center horizontally, always put at the bottom vertically + QLabel::move(x + (f_w - f_pixmap.width())/2, y + (f_h - f_pixmap.height())); //Always center horizontally, always put at the bottom vertically return f_pixmap; } |
