We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 281547e commit cd8f019Copy full SHA for cd8f019
src/spritemodel.cpp
@@ -93,7 +93,7 @@ void SpriteModel::onGraphicsEffectsCleared()
93
94
libscratchcpp::Rect SpriteModel::boundingRect() const
95
{
96
- return libscratchcpp::Rect();
+ return libscratchcpp::Rect(m_sprite->x(), m_sprite->y(), m_sprite->x(), m_sprite->y());
97
}
98
99
libscratchcpp::Sprite *SpriteModel::sprite() const
0 commit comments