Parcourir la source

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

j8
Horatiu Muresan il y a 4 ans
Parent
révision
cbeb7b86cc
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      react/features/toolbox/components/web/Toolbox.js

+ 2
- 2
react/features/toolbox/components/web/Toolbox.js Voir le fichier

@@ -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
 

Chargement…
Annuler
Enregistrer