diff options
Diffstat (limited to 'js/components/tools-properties/pen-properties.reel')
-rwxr-xr-x | js/components/tools-properties/pen-properties.reel/pen-properties.html | 8 | ||||
-rwxr-xr-x | js/components/tools-properties/pen-properties.reel/pen-properties.js | 18 |
2 files changed, 21 insertions, 5 deletions
diff --git a/js/components/tools-properties/pen-properties.reel/pen-properties.html b/js/components/tools-properties/pen-properties.reel/pen-properties.html index 4ea6aac4..adb5cd7d 100755 --- a/js/components/tools-properties/pen-properties.reel/pen-properties.html +++ b/js/components/tools-properties/pen-properties.reel/pen-properties.html | |||
@@ -29,14 +29,18 @@ | |||
29 | "properties": { | 29 | "properties": { |
30 | "element": {"#": "penProperties"}, | 30 | "element": {"#": "penProperties"}, |
31 | 31 | ||
32 | "_penToolRadio": {"#": "penTool"}, | ||
33 | "_penPlusRadio": {"#": "penPlus"}, | ||
34 | "_penMinusRadio": {"#": "penMinus"}, | ||
35 | |||
32 | "_fillColorCtrl": {"#": "fillColorCtrl"}, | 36 | "_fillColorCtrl": {"#": "fillColorCtrl"}, |
33 | "_strokeColorCtrl": {"#": "strokeColorCtrl"}, | 37 | "_strokeColorCtrl": {"#": "strokeColorCtrl"}, |
34 | "_strokeSize": {"@": "strokeSizeHT"} | 38 | "_strokeSize": {"@": "strokeSizeHT"} |
35 | } | 39 | } |
36 | } | 40 | } |
37 | } | 41 | } |
38 | </script> | 42 | </script> |
39 | 43 | ||
40 | </head> | 44 | </head> |
41 | 45 | ||
42 | <body> | 46 | <body> |
diff --git a/js/components/tools-properties/pen-properties.reel/pen-properties.js b/js/components/tools-properties/pen-properties.reel/pen-properties.js index 5ae03adc..78065b99 100755 --- a/js/components/tools-properties/pen-properties.reel/pen-properties.js +++ b/js/components/tools-properties/pen-properties.reel/pen-properties.js | |||
@@ -9,9 +9,21 @@ var ToolProperties = require("js/components/tools-properties/tool-properties").T | |||
9 | 9 | ||
10 | var PenProperties = exports.PenProperties = Montage.create(ToolProperties, { | 10 | var PenProperties = exports.PenProperties = Montage.create(ToolProperties, { |
11 | addedColorChips: { value: false }, | 11 | addedColorChips: { value: false }, |
12 | _penToolRadio: { value: null, enumerable: false }, | 12 | |
13 | _penPlusRadio: { value: null, enumerable: false }, | 13 | _penToolRadio: { |
14 | _penMinusRadio: { value: null, enumerable: false }, | 14 | value: null, |
15 | serializable: true | ||
16 | }, | ||
17 | |||
18 | _penPlusRadio: { | ||
19 | value: null, | ||
20 | serializable: true | ||
21 | }, | ||
22 | |||
23 | _penMinusRadio: { | ||
24 | value: null, | ||
25 | serializable: true | ||
26 | }, | ||
15 | 27 | ||
16 | _subPrepare: { | 28 | _subPrepare: { |
17 | value: function() { | 29 | value: function() { |