fixed errors VC

This commit is contained in:
Daniel Barbero Martin 2020-01-28 12:12:07 +01:00
parent f459c6fb79
commit 0ad6e7842f
3 changed files with 13 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -514,6 +514,17 @@ abstract class VisualConsoleItem<Props extends ItemProps> {
if (this.meta.editMode) {
e.preventDefault();
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) {