Skip to content

Commit

Permalink
Update react-moveable and disable snap digits again (#941)
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Apr 1, 2020
1 parent 815363b commit a251772
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ function MultiSelectionMovable({ selectedElements }) {
verticalGuidelines={canSnap ? [0, canvasWidth / 2, canvasWidth] : []}
elementGuidelines={otherNodes}
snapGap={canSnap}
isDisplaySnapDigit={true}
isDisplaySnapDigit={false}
/>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ function SingleSelectionMovable({ selectedElement, targetEl, pushEvent }) {
}
elementGuidelines={canSnap && actionsEnabled ? otherNodes : []}
snapGap={canSnap}
isDisplaySnapDigit={true}
isDisplaySnapDigit={false}
/>
);
}
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"react-dates": "^21.8.0",
"react-dom": "^16.13.1",
"react-modal": "^3.11.2",
"react-moveable": "^0.19.0",
"react-moveable": "^0.19.1",
"react-transition-group": "^4.3.0",
"resize-observer-polyfill": "^1.5.1",
"styled-components": "^5.0.1",
Expand Down

0 comments on commit a251772

Please sign in to comment.