Skip to content

Commit 54797a7

Browse files
committed
refactoring of image canvas into hooks and subcomponents
1 parent 92e141e commit 54797a7

File tree

14 files changed

+909
-529
lines changed

14 files changed

+909
-529
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
"react-remove-scroll": "^2.0.4",
1818
"react-select": "^2.2.0",
1919
"react-syntax-highlighter": "^12.2.1",
20-
"react-use": "^13.26.3",
20+
"react-use": "^13.27.0",
2121
"seamless-immutable": "^7.1.4",
2222
"transformation-matrix-js": "^2.7.6",
23+
"use-event-callback": "^0.1.0",
2324
"use-key-hook": "^1.3.0"
2425
},
2526
"peerDependencies": {

src/HighlightBox/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const useStyles = makeStyles({
1010
to: { strokeDashoffset: 100 }
1111
},
1212
highlightBox: {
13+
zIndex: 2,
1314
transition: "opacity 500ms",
1415
"&:not(.highlighted)": {
1516
opacity: 0

0 commit comments

Comments
 (0)