simulate move to update hover on fill tool mouse up

This commit is contained in:
Christopher Willis-Ford 2021-03-17 00:32:15 -07:00
parent 9b11457e3b
commit 244da0b27d

View file

@ -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 &&