File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ export default ({
68
68
} )
69
69
70
70
const isAVideoFrame = activeImage && activeImage . frameTime !== undefined
71
+ const innerContainerRef = useRef ( )
71
72
72
73
let impliedVideoRegions = useImpliedVideoRegions ( state )
73
74
@@ -81,6 +82,14 @@ export default ({
81
82
} }
82
83
>
83
84
< div
85
+ ref = { innerContainerRef }
86
+ tabIndex = { - 1 }
87
+ onMouseOver = { ( e ) => {
88
+ if ( innerContainerRef . current ) innerContainerRef . current . focus ( )
89
+ } }
90
+ onMouseDown = { ( e ) => {
91
+ if ( innerContainerRef . current ) innerContainerRef . current . focus ( )
92
+ } }
84
93
className = { classnames (
85
94
classes . container ,
86
95
state . fullScreen && "Fullscreen"
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export default ({ children, dispatch }) => {
54
54
select_tool : ( ) => {
55
55
dispatch ( {
56
56
type : "SELECT_TOOL" ,
57
- selectedTool : "select-tool " ,
57
+ selectedTool : "select" ,
58
58
} )
59
59
} ,
60
60
zoom_tool : ( ) => {
You can’t perform that action at this time.
0 commit comments