We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 350c8c3 commit c16df87Copy full SHA for c16df87
1 file changed
src/scratch/sprite_p.cpp
@@ -43,10 +43,10 @@ void SpritePrivate::getBoundingRect(Rect *out) const
43
auto costume = sprite->costumeAt(sprite->currentCostume() - 1);
44
45
if (!costume) {
46
- out->setLeft(0);
47
- out->setTop(0);
48
- out->setRight(0);
49
- out->setBottom(0);
+ out->setLeft(x);
+ out->setTop(y);
+ out->setRight(x);
+ out->setBottom(y);
50
return;
51
}
52
0 commit comments