aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/util/DocumentManager.ts1
-rw-r--r--src/client/util/DragManager.ts1
-rw-r--r--src/client/util/SelectionManager.ts2
-rw-r--r--src/client/util/UndoManager.ts2
4 files changed, 1 insertions, 5 deletions
diff --git a/src/client/util/DocumentManager.ts b/src/client/util/DocumentManager.ts
index ae5fafcdd..a38a330da 100644
--- a/src/client/util/DocumentManager.ts
+++ b/src/client/util/DocumentManager.ts
@@ -94,7 +94,6 @@ export class DocumentManager {
this.callAddViewFuncs(view);
} // prettier-ignore
};
-
public RemoveView = action((view: DocumentView) => {
if (!view._props.LayoutTemplateString?.includes(KeyValueBox.name) && !view._props.LayoutTemplateString?.includes(LinkAnchorBox.name)) {
this.DeleteDocumentView(view);
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts
index 7d7baa25d..aa0f77c72 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -177,7 +177,6 @@ export namespace DragManager {
constructor(colIndex: number) {
this.colIndex = colIndex;
}
-
colIndex: number;
}
// used by PDFs,Text,Image,Video,Web to conditionally (if the drop completes) create a text annotation when dragging the annotate button from the AnchorMenu when a text/region selection has been made.
diff --git a/src/client/util/SelectionManager.ts b/src/client/util/SelectionManager.ts
index dd34d5f22..36b926053 100644
--- a/src/client/util/SelectionManager.ts
+++ b/src/client/util/SelectionManager.ts
@@ -51,7 +51,6 @@ export class SelectionManager {
});
public static DeselectAll = (except?: Doc): void => {
- //console.log("deselect all")
const found = this.Instance.SelectedViews.find(dv => dv.Document === except);
runInAction(() => {
LinkManager.Instance.currentLink = undefined;
@@ -63,7 +62,6 @@ export class SelectionManager {
dv._props.whenChildContentsActiveChanged(false);
});
runInAction(() => (this.Instance.SelectedViews.length = 0));
- //not responsible for select onPointerDown
if (found) this.SelectView(found, false);
};
diff --git a/src/client/util/UndoManager.ts b/src/client/util/UndoManager.ts
index b16fed675..421855bf3 100644
--- a/src/client/util/UndoManager.ts
+++ b/src/client/util/UndoManager.ts
@@ -171,7 +171,7 @@ export namespace UndoManager {
}
export function StartBatch(batchName: string): Batch {
- //console.log(' '.slice(0, batchCounter.get()) + 'Start ' + batchCounter + ' ' + batchName);
+ console.log(' '.slice(0, batchCounter.get()) + 'Start ' + batchCounter + ' ' + batchName);
runInAction(() => batchCounter.set(batchCounter.get() + 1));
if (currentBatch === undefined) {
currentBatch = [];