Skip to content

Commit

Permalink
Update aolayer.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Satoru-1816 authored Jan 14, 2025
1 parent 110a935 commit 8370af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aolayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void AOLayer::center_pixmap(QPixmap f_pixmap) {
y + (f_h - f_pixmap.height())); // Always center horizontally, always put
// at the bottom vertically
centeredX = x + (f_w - f_pixmap.width()) / 2;
centeredY = y + (f_h - f_pixmap.height()));
centeredY = y + (f_h - f_pixmap.height());
if (masked)
this->setMask(
QRegion((f_pixmap.width() - f_w) / 2, (f_pixmap.height() - f_h) / 2, f_w,
Expand Down

0 comments on commit 8370af2

Please sign in to comment.