fixed errors VC
This commit is contained in:
parent
f459c6fb79
commit
0ad6e7842f
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -514,6 +514,17 @@ abstract class VisualConsoleItem<Props extends ItemProps> {
|
||||||
if (this.meta.editMode) {
|
if (this.meta.editMode) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
} else {
|
||||||
|
// Add loading click item.
|
||||||
|
const divParent = document.createElement("div");
|
||||||
|
divParent.className = "div-visual-console-spinner";
|
||||||
|
const divSpinner = document.createElement("div");
|
||||||
|
divSpinner.className = "visual-console-spinner";
|
||||||
|
divParent.appendChild(divSpinner);
|
||||||
|
const containerVC = document.getElementById("visual-console-container");
|
||||||
|
if (containerVC != null) {
|
||||||
|
containerVC.appendChild(divParent);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.meta.isBeingMoved && !this.meta.isBeingResized) {
|
if (!this.meta.isBeingMoved && !this.meta.isBeingResized) {
|
||||||
|
|
Loading…
Reference in New Issue