#91 issue fix and JavaScript changes (#93)

* #91 clickSelect issue fixed

* #90 image src set issue fixed

* #91 svgcanvas undefined issue fixed

* #91 console removed and each changes

* #91 $.each changes

* #91 $.each changes

* #91 forech change to Object.entries

* #91 each and entries changes

* #91 jquery extend changes

* #91 extend modification changes
This commit is contained in:
Agriya Dev5
2021-04-23 13:48:15 +05:30
committed by GitHub
parent 9d2379f333
commit 80ff613075
14 changed files with 37 additions and 34 deletions

View File

@@ -89,7 +89,7 @@ class BottomPanel {
buttonsNeedingStroke.forEach((btn) => {
// if btn is pressed, change to select button
if ($id(btn).pressed) {
this.editor.leftPanelHandlers.clickSelect();
this.editor.leftPanel.clickSelect();
}
$id(btn).disabled = true;
});
@@ -103,7 +103,7 @@ class BottomPanel {
buttonsNeedingFillAndStroke.forEach((btn) => {
// if btn is pressed, change to select button
if ($id(btn).pressed) {
this.editor.leftPanelHandlers.clickSelect();
this.editor.leftPanel.clickSelect();
}
$id(btn).disabled = true;
});