aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionNoteTakingViewDivider.tsx
diff options
context:
space:
mode:
authorljungster <parkerljung@gmail.com>2022-08-22 05:51:13 -0500
committerljungster <parkerljung@gmail.com>2022-08-22 05:51:13 -0500
commitb7c2e1081e4efe7167a86fb1d9f641bea8b93bba (patch)
tree77c8bf842c725df986d4a50acd7acc36af90b259 /src/client/views/collections/CollectionNoteTakingViewDivider.tsx
parent73e5ac3b651d92a3755db7d8376fc84d199be066 (diff)
commented all NoteTakingView files
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingViewDivider.tsx')
-rw-r--r--src/client/views/collections/CollectionNoteTakingViewDivider.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingViewDivider.tsx b/src/client/views/collections/CollectionNoteTakingViewDivider.tsx
index 2633bffeb..7defeb031 100644
--- a/src/client/views/collections/CollectionNoteTakingViewDivider.tsx
+++ b/src/client/views/collections/CollectionNoteTakingViewDivider.tsx
@@ -1,7 +1,6 @@
import { action, observable } from 'mobx';
import * as React from 'react';
import { emptyFunction, setupMoveUpEvents } from '../../../Utils';
-import { Transform } from '../../util/Transform';
import { UndoManager } from '../../util/UndoManager';
interface DividerProps {
@@ -10,6 +9,11 @@ interface DividerProps {
setColumnStartXCoords: (movementX: number, colIndex: number) => void;
}
+/**
+ * CollectionNoteTakingViewDivider is a divider between CollectionNoteTakingViewColumns,
+ * which only appear when there is more than 1 column in CollectionNoteTakingView. Dividers
+ * are two simple vertical lines that allow the user to alter the widths of CollectionNoteTakingViewColumns.
+ */
export class CollectionNoteTakingViewDivider extends React.Component<DividerProps> {
@observable private isHoverActive = false;
@observable private isResizingActive = false;