mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Fix spelling mistakes.
This commit is contained in:
parent
92331a62c3
commit
e0120b8f58
1 changed files with 2 additions and 2 deletions
|
@ -3516,7 +3516,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
||||||
globalMatrix = parentMatrix.clone().concatenate(matrix);
|
globalMatrix = parentMatrix.clone().concatenate(matrix);
|
||||||
// If this item is not invertible, do not draw it, since it would cause
|
// If this item is not invertible, do not draw it, since it would cause
|
||||||
// empty ctx.currentPath and mess up caching. It appears to also be a
|
// empty ctx.currentPath and mess up caching. It appears to also be a
|
||||||
// good idea generally to not draw in such cirucmstances, e.g. SVG
|
// good idea generally to not draw in such circumstances, e.g. SVG
|
||||||
// handles it the same way.
|
// handles it the same way.
|
||||||
if (!globalMatrix.isInvertible())
|
if (!globalMatrix.isInvertible())
|
||||||
return;
|
return;
|
||||||
|
@ -3548,7 +3548,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
||||||
&& this._canComposite(),
|
&& this._canComposite(),
|
||||||
mainCtx, itemOffset, prevOffset;
|
mainCtx, itemOffset, prevOffset;
|
||||||
if (!direct) {
|
if (!direct) {
|
||||||
// Apply the paren't global matrix to the calculation of correct
|
// Apply the parent's global matrix to the calculation of correct
|
||||||
// bounds.
|
// bounds.
|
||||||
var bounds = this.getStrokeBounds(parentMatrix);
|
var bounds = this.getStrokeBounds(parentMatrix);
|
||||||
if (!bounds.width || !bounds.height)
|
if (!bounds.width || !bounds.height)
|
||||||
|
|
Loading…
Reference in a new issue