Skip to content

Commit

Permalink
Update CCScale9Sprite.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Alphalaneous committed Oct 3, 2024
1 parent fa6c4ca commit 4a6ce22
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/nodes/CCScale9Sprite.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ using namespace geode::prelude;

#define setRect(node, idx) node->setTextureRect(m_fields->originalRects.at(idx), node->isTextureRectRotated(), m_fields->originalRects.at(idx).size);

#ifndef GEODE_IS_MACOS

class $modify(MyCCScale9Sprite, CCScale9Sprite) {

struct Fields {
Expand Down Expand Up @@ -227,6 +225,4 @@ class $modify(MyCCScale9Sprite, CCScale9Sprite) {

spr->setTextureRect(rect, spr->isTextureRectRotated(), rect.size);
}
};

#endif
};

0 comments on commit 4a6ce22

Please sign in to comment.