mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-15 01:09:53 -04:00
Fix typos introduced in recent commit.
This commit is contained in:
parent
8a4fe7eb42
commit
0fc7216f1c
1 changed files with 3 additions and 3 deletions
|
@ -124,7 +124,7 @@ var Path = this.Path = PathItem.extend({
|
||||||
if (!matrix.isIdentity()) {
|
if (!matrix.isIdentity()) {
|
||||||
var coords = new Array(6);
|
var coords = new Array(6);
|
||||||
for (var i = 0, l = this._segments.length; i < l; i++) {
|
for (var i = 0, l = this._segments.length; i < l; i++) {
|
||||||
this._segments[i].__transformCoordinates(matrix, coords, true);
|
this._segments[i]._transformCoordinates(matrix, coords, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this._changed();
|
this._changed();
|
||||||
|
@ -894,11 +894,11 @@ var Path = this.Path = PathItem.extend({
|
||||||
// Make coordinates for first segment available in prevCoords.
|
// Make coordinates for first segment available in prevCoords.
|
||||||
if (matrix && matrix.isIdentity())
|
if (matrix && matrix.isIdentity())
|
||||||
matrix = null;
|
matrix = null;
|
||||||
first.__transformCoordinates(matrix, prevCoords, false);
|
first._transformCoordinates(matrix, prevCoords, false);
|
||||||
var min = prevCoords.slice(0, 2),
|
var min = prevCoords.slice(0, 2),
|
||||||
max = min.slice(0); // clone
|
max = min.slice(0); // clone
|
||||||
function processSegment(segment) {
|
function processSegment(segment) {
|
||||||
segment.__transformCoordinates(matrix, coords, false);
|
segment._transformCoordinates(matrix, coords, false);
|
||||||
|
|
||||||
for (var i = 0; i < 2; i++) {
|
for (var i = 0; i < 2; i++) {
|
||||||
var v0 = prevCoords[i], // prev.point
|
var v0 = prevCoords[i], // prev.point
|
||||||
|
|
Loading…
Reference in a new issue