mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
get styles directly from _style object rather than passing through getters on Item.
This commit is contained in:
parent
da670b4171
commit
c8c47bf641
1 changed files with 1 additions and 1 deletions
|
@ -746,7 +746,7 @@ var Path = this.Path = PathItem.extend({
|
|||
|
||||
_setStyles: function(ctx) {
|
||||
for (var i in styles) {
|
||||
var style = this[i]();
|
||||
var style = this._style[i]();
|
||||
if (style)
|
||||
ctx[styles[i]] = style;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue