fixed logic in Text that was accessing padding attr directly without using the getter

This commit is contained in:
Eric Rowell
2013-03-17 21:16:08 -07:00
parent e0e390f760
commit e43c2fbeb4
3 changed files with 6 additions and 6 deletions

View File

@@ -14,10 +14,10 @@ Test.Modules.LABEL = {
text: {
text: 'Hello World!',
fontSize: 50,
fontFamily: 'Calibri',
fontStyle: 'normal',
//fontFamily: 'Calibri',
//fontStyle: 'normal',
lineHeight: 1.2,
padding: 10,
//padding: 10,
fill: 'green'
},
rect: {
@@ -28,7 +28,7 @@ Test.Modules.LABEL = {
shadowOffset: [10, 10],
shadowOpacity: 0.2,
lineJoin: 'round',
pointerDirection: 'down',
//pointerDirection: 'down',
pointerWidth: 20,
pointerHeight: 20,
cornerRadius: 5