From fcbe708c5c1b145709f788621c6140803852dbd4 Mon Sep 17 00:00:00 2001 From: kangax Date: Sun, 30 Jan 2011 18:37:02 -0500 Subject: [PATCH] Enable color and opacity controls only when something is selected on canvas. --- test/demo/demo.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/demo/demo.js b/test/demo/demo.js index 05a3d824..3ca5f6a0 100644 --- a/test/demo/demo.js +++ b/test/demo/demo.js @@ -316,7 +316,9 @@ lockScalingEl, lockRotationEl, removeSelectedEl, - gradientifyBtn + gradientifyBtn, + document.getElementById('opacity'), + document.getElementById('color') ]; for (var i = activeObjectButtons.length; i--; ) {