mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #15193 from overleaf/ae-show-file-tree
Ensure that file tree toggle shows the current status GitOrigin-RevId: 960937b075780e9a0c3a8518660b15f14d96c6bc
This commit is contained in:
parent
b9a6e7009d
commit
46fe0d6d0b
2 changed files with 5 additions and 5 deletions
|
@ -220,7 +220,7 @@ aria-label=\"{{ isOpen ? tooltipMsgWhenOpen : tooltipMsgWhenClosed }}\">\
|
|||
}
|
||||
|
||||
function onPaneOpen(pane) {
|
||||
if (!hasCustomToggler && pane !== customTogglerPane) {
|
||||
if (!hasCustomToggler || pane !== customTogglerPane) {
|
||||
return
|
||||
}
|
||||
return customTogglerEl
|
||||
|
@ -229,7 +229,7 @@ aria-label=\"{{ isOpen ? tooltipMsgWhenOpen : tooltipMsgWhenClosed }}\">\
|
|||
}
|
||||
|
||||
function onPaneClose(pane) {
|
||||
if (!hasCustomToggler && pane !== customTogglerPane) {
|
||||
if (!hasCustomToggler || pane !== customTogglerPane) {
|
||||
return
|
||||
}
|
||||
return customTogglerEl
|
||||
|
@ -263,7 +263,7 @@ aria-label=\"{{ isOpen ? tooltipMsgWhenOpen : tooltipMsgWhenClosed }}\">\
|
|||
} else {
|
||||
layout.close('east')
|
||||
}
|
||||
if (hasCustomToggler) {
|
||||
if (hasCustomToggler && customTogglerPane === 'east') {
|
||||
repositionCustomToggler()
|
||||
customTogglerEl.scope().$applyAsync(function () {
|
||||
customTogglerEl.scope().isOpen = value
|
||||
|
|
|
@ -1824,9 +1824,9 @@
|
|||
"toolbar_table_insert_table_lowercase": "Insert table",
|
||||
"toolbar_toggle_symbol_palette": "Toggle Symbol Palette",
|
||||
"toolbar_undo": "Undo",
|
||||
"tooltip_hide_filetree": "Click to hide the file-tree",
|
||||
"tooltip_hide_filetree": "Click to hide the file tree",
|
||||
"tooltip_hide_pdf": "Click to hide the PDF",
|
||||
"tooltip_show_filetree": "Click to show the file-tree",
|
||||
"tooltip_show_filetree": "Click to show the file tree",
|
||||
"tooltip_show_pdf": "Click to show the PDF",
|
||||
"top_pick": "Top pick",
|
||||
"total": "Total",
|
||||
|
|
Loading…
Reference in a new issue