kopia lustrzana https://github.com/backface/turtlestitch
rodzic
caa5e3317c
commit
8f57f534c6
|
@ -3695,6 +3695,7 @@ Fixes:
|
|||
------
|
||||
* Objects: make sure to fully remove parts from their anchor when deleting them
|
||||
* Objects: fixed a bounding-box-detection bug in Costumes. Thanks, Simon Mong!
|
||||
* Objects: fixed a flood-fill rounding bug. Thanks, Simon Mong!
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -4274,7 +4274,7 @@ SpriteMorph.prototype.floodFill = function () {
|
|||
img = ctx.getImageData(0, 0, width, height),
|
||||
dta = img.data,
|
||||
stack = [
|
||||
((height / 2) - Math.round(this.yPosition())) * width +
|
||||
Math.round((height / 2) - this.yPosition()) * width +
|
||||
Math.round(this.xPosition() + (width / 2))
|
||||
],
|
||||
current,
|
||||
|
|
Ładowanie…
Reference in New Issue