|
@@ -89,8 +89,9 @@ const ToolbarToggler = {
|
89
|
89
|
|
90
|
90
|
/**
|
91
|
91
|
* Shows the main toolbar.
|
|
92
|
+ * @param timeout (optional) to specify custom timeout value
|
92
|
93
|
*/
|
93
|
|
- showToolbar () {
|
|
94
|
+ showToolbar (timeout) {
|
94
|
95
|
if (interfaceConfig.filmStripOnly) {
|
95
|
96
|
return;
|
96
|
97
|
}
|
|
@@ -107,7 +108,8 @@ const ToolbarToggler = {
|
107
|
108
|
clearTimeout(toolbarTimeoutObject);
|
108
|
109
|
toolbarTimeoutObject = null;
|
109
|
110
|
}
|
110
|
|
- toolbarTimeoutObject = setTimeout(hideToolbar, toolbarTimeout);
|
|
111
|
+ toolbarTimeoutObject = setTimeout(hideToolbar,
|
|
112
|
+ timeout ? timeout : toolbarTimeout);
|
111
|
113
|
toolbarTimeout = interfaceConfig.TOOLBAR_TIMEOUT;
|
112
|
114
|
}
|
113
|
115
|
|