mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 21:42:30 -05:00
simulate move to update hover on fill tool mouse up
This commit is contained in:
parent
9b11457e3b
commit
244da0b27d
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ class FillTool extends paper.Tool {
|
|||
}
|
||||
handleMouseUp (event) {
|
||||
if (event.event.button > 0) return; // only first mouse button
|
||||
this.handleMouseMove(event); // if it's a touch event we need to simulate hover first; if not this is harmless
|
||||
if (this.fillItem) {
|
||||
// If the hole we're filling in is the same color as the parent, and parent has no outline, remove the hole
|
||||
if (this.addedFillItem &&
|
||||
|
|
Loading…
Reference in a new issue