Declare all Character/ParagraphStyle properties that change GEOMETRY.

Fixing a failing test that showed up after debugging code was removed in recent commit, which disabled speed optimisations.
This commit is contained in:
Jürg Lehni 2011-12-20 22:37:46 +01:00
parent 0fcee7d8df
commit 16113d5462
2 changed files with 9 additions and 1 deletions

View file

@ -43,7 +43,12 @@ var CharacterStyle = this.CharacterStyle = PathStyle.extend(/** @lends Character
fontSize: 12,
leading: null,
font: 'sans-serif'
})
}),
_flags: {
fontSize: Change.GEOMETRY,
leading: Change.GEOMETRY,
font: Change.GEOMETRY
}
/**
* CharacterStyle objects don't need to be created directly. Just pass an

View file

@ -35,6 +35,9 @@ var ParagraphStyle = this.ParagraphStyle = Style.extend(/** @lends ParagraphStyl
_style: 'paragraphStyle',
_defaults: {
justification: 'left'
},
_flags: {
justification: Change.GEOMETRY
}
/**