- this.__style && this.__style.unRegister( this );\r
- this._style = v;\r
- this.__style = StylePrivate.getPrivateData( v ); \r
- this.__style.register( this );\r
+ if( v !== this._style ){\r
+ this.__style && this.__style.unRegister( this );\r
+ this._style = v;\r
+ this.__style = StylePrivate.getPrivateData( v ); \r
+ this.__style.register( this ); \r
+ };\r