Skip to content

Commit

Permalink
fix: magic meter x offset
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyV99 committed Aug 20, 2023
1 parent 0643953 commit 06e5787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/new_subscr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ byte SW_MagicMeter::getType() const
}
void SW_MagicMeter::draw(BITMAP* dest, int32_t xofs, int32_t yofs, SubscrPage& page) const
{
magicmeter(dest, getX()+xofs, getY()+yofs);
magicmeter(dest, x+xofs, y+yofs);
}
SubscrWidget* SW_MagicMeter::clone() const
{
Expand Down

0 comments on commit 06e5787

Please sign in to comment.