aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 9688c6ad4..8d3c3126d 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -137,7 +137,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
}
}
- public static FloatDoc(topDocView:DocumentView, x:number, y:number) {
+ public static FloatDoc(topDocView: DocumentView, x: number, y: number) {
const topDoc = topDocView.props.Document;
const de = new DragManager.DocumentDragData([topDoc]);
de.dragDivName = topDocView.props.dragDivName;
@@ -171,7 +171,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
}
} else if (e.key === "f") {
const ex = (e.nativeEvent.target! as any).getBoundingClientRect().left;
- const ey = (e.nativeEvent.target!as any).getBoundingClientRect().top;
+ const ey = (e.nativeEvent.target! as any).getBoundingClientRect().top;
DocumentView.FloatDoc(this, ex, ey);
}
}