diff options
Diffstat (limited to 'js/components')
-rwxr-xr-x | js/components/ui/property-control.reel/property-control.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/js/components/ui/property-control.reel/property-control.js b/js/components/ui/property-control.reel/property-control.js index 20ec173e..cd684168 100755 --- a/js/components/ui/property-control.reel/property-control.js +++ b/js/components/ui/property-control.reel/property-control.js | |||
@@ -15,7 +15,8 @@ var Montage = require("montage/core/core").Montage, | |||
15 | TextField = require("js/components/TextField.reel").TextField, | 15 | TextField = require("js/components/TextField.reel").TextField, |
16 | ColorChip = require("js/components/ui/color-chip.reel").ColorChip, | 16 | ColorChip = require("js/components/ui/color-chip.reel").ColorChip, |
17 | FileInput = require("js/components/ui/file-input.reel").FileInput, | 17 | FileInput = require("js/components/ui/file-input.reel").FileInput, |
18 | InputGroup = require("js/components/ui/input-group.reel").InputGroup; | 18 | InputGroup = require("js/components/ui/input-group.reel").InputGroup, |
19 | GradientPicker = require("js/components/gradientpicker.reel").GradientPicker; | ||
19 | 20 | ||
20 | var PropertyControl = exports.PropertyControl = Montage.create(Component, { | 21 | var PropertyControl = exports.PropertyControl = Montage.create(Component, { |
21 | 22 | ||
@@ -237,6 +238,11 @@ var PropertyControl = exports.PropertyControl = Montage.create(Component, { | |||
237 | this._control.addEventListener("changing", this, false); | 238 | this._control.addEventListener("changing", this, false); |
238 | this._prop = "value"; | 239 | this._prop = "value"; |
239 | break; | 240 | break; |
241 | case "GradientPicker": | ||
242 | this._control = GradientPicker.create(); | ||
243 | this._control.addEventListener("change", this, false); | ||
244 | this._prop = "value"; | ||
245 | break; | ||
240 | default: | 246 | default: |
241 | break; | 247 | break; |
242 | } | 248 | } |