Merge pull request #882 from jitsi/fix-hide-toolbar
Fixes hiding toolbar.
This commit is contained in:
commit
b6e18d8a68
|
@ -3,6 +3,7 @@
|
||||||
import {processReplacements, linkify} from './Replacement';
|
import {processReplacements, linkify} from './Replacement';
|
||||||
import CommandsProcessor from './Commands';
|
import CommandsProcessor from './Commands';
|
||||||
import ToolbarToggler from '../../toolbars/ToolbarToggler';
|
import ToolbarToggler from '../../toolbars/ToolbarToggler';
|
||||||
|
import VideoLayout from "../../videolayout/VideoLayout";
|
||||||
|
|
||||||
import UIUtil from '../../util/UIUtil';
|
import UIUtil from '../../util/UIUtil';
|
||||||
import UIEvents from '../../../../service/UI/UIEvents';
|
import UIEvents from '../../../../service/UI/UIEvents';
|
||||||
|
@ -180,6 +181,12 @@ var Chat = {
|
||||||
unreadMessages = 0;
|
unreadMessages = 0;
|
||||||
updateVisualNotification();
|
updateVisualNotification();
|
||||||
|
|
||||||
|
// Undock the toolbar when the chat is shown and if we're in a
|
||||||
|
// video mode.
|
||||||
|
if (VideoLayout.isLargeVideoVisible()) {
|
||||||
|
ToolbarToggler.dockToolbar(false);
|
||||||
|
}
|
||||||
|
|
||||||
// if we are in conversation mode focus on the text input
|
// if we are in conversation mode focus on the text input
|
||||||
// if we are not, focus on the display name input
|
// if we are not, focus on the display name input
|
||||||
if (APP.settings.getDisplayName())
|
if (APP.settings.getDisplayName())
|
||||||
|
|
Loading…
Reference in New Issue