Enable custom togglers.

This commit is contained in:
Paulo Reis 2018-03-20 15:24:52 +00:00
parent fc0be22c6d
commit a3034fc79f
2 changed files with 6 additions and 1 deletions

View file

@ -62,6 +62,9 @@ block content
ng-hide="state.loading",
resize-on="layout:chat:resize",
minimum-restore-size-west="130"
custom-toggler-pane="'west'"
custom-toggler-tooltip-open="'Click to open the file tree'"
custom-toggler-tooltip-close="'Click to close the file tree'"
)
.ui-layout-west
include ./editor/file-tree

View file

@ -8,6 +8,9 @@ div.full-size(
initial-size-east="'50%'"
minimum-restore-size-east="300"
allow-overflow-on="'center'"
custom-toggler-pane="'east'"
custom-toggler-tooltip-open="'Click to open the PDF'"
custom-toggler-tooltip-close="'Click to close the PDF'"
)
.ui-layout-center(
ng-controller="ReviewPanelController",
@ -100,7 +103,6 @@ div.full-size(
ng-click="syncToCode()"
)
i.synctex-control-icon
div.full-size(
ng-if="ui.pdfLayout == 'flat'"
ng-show="ui.view == 'pdf'"