diff options
| author | Crystalwarrior <varsash@gmail.com> | 2019-10-02 01:20:00 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2019-10-02 01:20:00 +0300 |
| commit | 4c23e159350eeb3d74faf7e814f2874787e02565 (patch) | |
| tree | 61afa491b0ea4bf578ea3a365231c9f5a6bbbc39 /src/aocharmovie.cpp | |
| parent | 292c425c7895afcd8a545afa40dffefea803aabc (diff) | |
Rewrite pairing character ordering logic to instead operate based on a user-accessible drpodown menu (it's a dropdown for the future when there's more options)
Fix current charmovie breaking offsets
Make pairing offsets applicable even without a pairing partner, making it a generic offset
Fix the chat message hardcoding max colors to 8 (when it should be max_colors)
Come up with a way to convey the ordering information without creating an extra new packet in a cool way (backwards compatibility AND less clutter!)
More info on the evidence_x and evidence_ok tooltips
Don't mute music when you switch to CSS anymore
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 96e84d49..6f6c3a17 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((f_w - f_pixmap.width())/2, (f_h - f_pixmap.height())); //Always center horizontally, always put at the bottom vertically + this->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; } |
