mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-21 11:51:51 +00:00
Enable color and opacity controls only when something is selected on canvas.
This commit is contained in:
parent
17c6817bf3
commit
fcbe708c5c
1 changed files with 3 additions and 1 deletions
|
|
@ -316,7 +316,9 @@
|
|||
lockScalingEl,
|
||||
lockRotationEl,
|
||||
removeSelectedEl,
|
||||
gradientifyBtn
|
||||
gradientifyBtn,
|
||||
document.getElementById('opacity'),
|
||||
document.getElementById('color')
|
||||
];
|
||||
|
||||
for (var i = activeObjectButtons.length; i--; ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue