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 ({
6868 } )
6969
7070 const isAVideoFrame = activeImage && activeImage . frameTime !== undefined
71+ const innerContainerRef = useRef ( )
7172
7273 let impliedVideoRegions = useImpliedVideoRegions ( state )
7374
@@ -81,6 +82,14 @@ export default ({
8182 } }
8283 >
8384 < 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+ } }
8493 className = { classnames (
8594 classes . container ,
8695 state . fullScreen && "Fullscreen"
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export default ({ children, dispatch }) => {
5454 select_tool : ( ) => {
5555 dispatch ( {
5656 type : "SELECT_TOOL" ,
57- selectedTool : "select-tool " ,
57+ selectedTool : "select" ,
5858 } )
5959 } ,
6060 zoom_tool : ( ) => {
You can’t perform that action at this time.
0 commit comments