aboutsummaryrefslogtreecommitdiff
path: root/js/components/ui
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/ui')
-rwxr-xr-xjs/components/ui/property-control.reel/property-control.js8
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 9b9c9482..49ee7334 100755
--- a/js/components/ui/property-control.reel/property-control.js
+++ b/js/components/ui/property-control.reel/property-control.js
@@ -39,7 +39,8 @@ var Montage = require("montage/core/core").Montage,
39 TextField = require("js/components/TextField.reel").TextField, 39 TextField = require("js/components/TextField.reel").TextField,
40 ColorChip = require("js/components/ui/color-chip.reel").ColorChip, 40 ColorChip = require("js/components/ui/color-chip.reel").ColorChip,
41 FileInput = require("js/components/ui/file-input.reel").FileInput, 41 FileInput = require("js/components/ui/file-input.reel").FileInput,
42 InputGroup = require("js/components/ui/input-group.reel").InputGroup; 42 InputGroup = require("js/components/ui/input-group.reel").InputGroup,
43 GradientPicker = require("js/components/gradientpicker.reel").GradientPicker;
43 44
44var PropertyControl = exports.PropertyControl = Montage.create(Component, { 45var PropertyControl = exports.PropertyControl = Montage.create(Component, {
45 46
@@ -261,6 +262,11 @@ var PropertyControl = exports.PropertyControl = Montage.create(Component, {
261 this._control.addEventListener("changing", this, false); 262 this._control.addEventListener("changing", this, false);
262 this._prop = "value"; 263 this._prop = "value";
263 break; 264 break;
265 case "GradientPicker":
266 this._control = GradientPicker.create();
267 this._control.addEventListener("change", this, false);
268 this._prop = "value";
269 break;
264 default: 270 default:
265 break; 271 break;
266 } 272 }