mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Fix winding contribution case for horizontal curves
This commit is contained in:
parent
acaf637f26
commit
74c4df9b8c
1 changed files with 0 additions and 2 deletions
|
@ -454,8 +454,6 @@ var PathItem = Item.extend(/** @lends PathItem# */{
|
|||
}
|
||||
}
|
||||
}
|
||||
yTop = yTop === -Infinity ? y : yTop;
|
||||
yBot = yBot === Infinity ? y : yBot;
|
||||
// Shift the point lying on the horizontal curves by
|
||||
// half of closest top and bottom intercepts.
|
||||
yTop = (yTop + y) / 2;
|
||||
|
|
Loading…
Reference in a new issue