Просмотр исходного кода

fix(toolbox): Fix toolbox not auto-hiding. (#9002)

j8
Horatiu Muresan 4 лет назад
Родитель
Сommit
cbeb7b86cc
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      react/features/toolbox/components/web/Toolbox.js

+ 2
- 2
react/features/toolbox/components/web/Toolbox.js Просмотреть файл

@@ -75,7 +75,7 @@ import {
75 75
     setFullScreen,
76 76
     setOverflowMenuVisible,
77 77
     setToolbarHovered,
78
-    setToolboxVisible
78
+    showToolbox
79 79
 } from '../../actions';
80 80
 import { getToolbarAdditionalButtons, isToolboxVisible } from '../../functions';
81 81
 import DownloadButton from '../DownloadButton';
@@ -675,7 +675,7 @@ class Toolbox extends Component<Props> {
675 675
      */
676 676
     _onTabIn() {
677 677
         if (!this.props._visible) {
678
-            this.props.dispatch(setToolboxVisible(true));
678
+            this.props.dispatch(showToolbox());
679 679
         }
680 680
     }
681 681
 

Загрузка…
Отмена
Сохранить