aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionNoteTakingViewDivider.tsx
diff options
context:
space:
mode:
authorljungster <parkerljung@gmail.com>2022-04-28 12:35:34 -0400
committerljungster <parkerljung@gmail.com>2022-04-28 12:35:34 -0400
commitd9ac13fd73568c4ed4ec939a5d63dda455bc4e5f (patch)
treeb2847cfed74c4881cbb18e887bf240ce86f58d1d /src/client/views/collections/CollectionNoteTakingViewDivider.tsx
parent6f17d019715ee20a29588edac94c790e57628be9 (diff)
pushing prior to sprint
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingViewDivider.tsx')
-rw-r--r--src/client/views/collections/CollectionNoteTakingViewDivider.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingViewDivider.tsx b/src/client/views/collections/CollectionNoteTakingViewDivider.tsx
index 3655c3f38..731ac556e 100644
--- a/src/client/views/collections/CollectionNoteTakingViewDivider.tsx
+++ b/src/client/views/collections/CollectionNoteTakingViewDivider.tsx
@@ -40,11 +40,11 @@ export default class Divider extends React.Component<DividerProps>{
// const xDividerPos = this.props.columnStartXCoords[this.props.index + 1] - 25
// const diff = xDividerPos - xPos
// // make a copy of the array
- const colXCoords : number[] = []
- this.props.columnStartXCoords.forEach(val => colXCoords.push(val))
- colXCoords[this.props.index + 1] += movementX
- this.props.setColumnStartXCoords(colXCoords)
- // console.log(this.props.columnStartXCoords)
+ // const colXCoords = [...this.props.columnStartXCoords]
+ // colXCoords[this.props.index + 1] += movementX
+ this.props.columnStartXCoords[this.props.index + 1] += movementX
+ // this.props.setColumnStartXCoords(colXCoords)
+ console.log(this.props.columnStartXCoords)
// this.props.columnStartXCoords = colXCoords
// }
}