|
|
@ -73,7 +73,8 @@ import { |
|
|
|
import { |
|
|
|
import { |
|
|
|
setFullScreen, |
|
|
|
setFullScreen, |
|
|
|
setOverflowMenuVisible, |
|
|
|
setOverflowMenuVisible, |
|
|
|
setToolbarHovered |
|
|
|
setToolbarHovered, |
|
|
|
|
|
|
|
setToolboxVisible |
|
|
|
} from '../../actions'; |
|
|
|
} from '../../actions'; |
|
|
|
import { isToolboxVisible } from '../../functions'; |
|
|
|
import { isToolboxVisible } from '../../functions'; |
|
|
|
import DownloadButton from '../DownloadButton'; |
|
|
|
import DownloadButton from '../DownloadButton'; |
|
|
@ -238,6 +239,7 @@ class Toolbox extends Component<Props, State> { |
|
|
|
this._onMouseOver = this._onMouseOver.bind(this); |
|
|
|
this._onMouseOver = this._onMouseOver.bind(this); |
|
|
|
this._onResize = this._onResize.bind(this); |
|
|
|
this._onResize = this._onResize.bind(this); |
|
|
|
this._onSetOverflowVisible = this._onSetOverflowVisible.bind(this); |
|
|
|
this._onSetOverflowVisible = this._onSetOverflowVisible.bind(this); |
|
|
|
|
|
|
|
this._onTabIn = this._onTabIn.bind(this); |
|
|
|
|
|
|
|
|
|
|
|
this._onShortcutToggleChat = this._onShortcutToggleChat.bind(this); |
|
|
|
this._onShortcutToggleChat = this._onShortcutToggleChat.bind(this); |
|
|
|
this._onShortcutToggleFullScreen = this._onShortcutToggleFullScreen.bind(this); |
|
|
|
this._onShortcutToggleFullScreen = this._onShortcutToggleFullScreen.bind(this); |
|
|
@ -368,6 +370,7 @@ class Toolbox extends Component<Props, State> { |
|
|
|
<div |
|
|
|
<div |
|
|
|
className = { rootClassNames } |
|
|
|
className = { rootClassNames } |
|
|
|
id = 'new-toolbox' |
|
|
|
id = 'new-toolbox' |
|
|
|
|
|
|
|
onFocus = { this._onTabIn } |
|
|
|
onMouseOut = { this._onMouseOut } |
|
|
|
onMouseOut = { this._onMouseOut } |
|
|
|
onMouseOver = { this._onMouseOver }> |
|
|
|
onMouseOver = { this._onMouseOver }> |
|
|
|
<div className = 'toolbox-background' /> |
|
|
|
<div className = 'toolbox-background' /> |
|
|
@ -698,6 +701,19 @@ class Toolbox extends Component<Props, State> { |
|
|
|
this._doToggleScreenshare(); |
|
|
|
this._doToggleScreenshare(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_onTabIn: () => void; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Toggle the toolbar visibility when tabbing into it. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @returns {void} |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
_onTabIn() { |
|
|
|
|
|
|
|
if (!this.props._visible) { |
|
|
|
|
|
|
|
this.props.dispatch(setToolboxVisible(true)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
_onToolbarOpenFeedback: () => void; |
|
|
|
_onToolbarOpenFeedback: () => void; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|