Enable color and opacity controls only when something is selected on canvas.

This commit is contained in:
kangax 2011-01-30 18:37:02 -05:00
parent 17c6817bf3
commit fcbe708c5c

View file

@ -316,7 +316,9 @@
lockScalingEl,
lockRotationEl,
removeSelectedEl,
gradientifyBtn
gradientifyBtn,
document.getElementById('opacity'),
document.getElementById('color')
];
for (var i = activeObjectButtons.length; i--; ) {