Skip to content
Snippets Groups Projects
Unverified Commit c8603613 authored by Xiao Gui's avatar Xiao Gui
Browse files

expmt allow mini tray to be minimized

parent 060bdd52
No related branches found
No related tags found
No related merge requests found
...@@ -158,3 +158,10 @@ sxplr-smart-chip [mat-icon-button] ...@@ -158,3 +158,10 @@ sxplr-smart-chip [mat-icon-button]
{ {
height: 1rem; height: 1rem;
} }
sxplr-overlay-ui
{
position: absolute;
width: 100%;
height: 100%;
}
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
</div> </div>
</div> </div>
<!-- <sxplr-overlay-ui></sxplr-overlay-ui> -->
<!-- master draw container --> <!-- master draw container -->
<ng-template [ngIf]="view$ | async" let-view> <ng-template [ngIf]="view$ | async" let-view>
...@@ -86,7 +87,7 @@ ...@@ -86,7 +87,7 @@
<iav-layout-fourcorners> <iav-layout-fourcorners>
<!-- top left --> <!-- top left -->
<div iavLayoutFourCornersTopLeft class="ws-no-wrap"> <div iavLayoutFourCornersTopLeft class="ws-no-wrap align-items-start d-inline-flex">
<!-- special mode --> <!-- special mode -->
<ng-template [ngIf]="view.viewerMode" let-mode [ngIfElse]="defaultTopLeftTmpl"> <ng-template [ngIf]="view.viewerMode" let-mode [ngIfElse]="defaultTopLeftTmpl">
...@@ -286,6 +287,23 @@ ...@@ -286,6 +287,23 @@
</div> </div>
<!-- tab to minimize mini tray -->
<ng-template sxplrExperimentalFlag
[experimental]="true"
#minTray="sxplrExperimentalFlag"
[ngIf]="minTray.show$ | async">
<div class="tab-toggle-container">
<ng-template [ngTemplateOutlet]="tabTmpl_defaultTmpl" [ngTemplateOutletContext]="{
fontIcon: (minTrayVisSwitch.switchState$ | async) ? 'fas fa-chevron-left' : 'fas fa-search',
matColor: (minTrayVisSwitch.switchState$ | async) ? null : 'primary',
click: minTrayVisSwitch.toggle.bind(minTrayVisSwitch)
}">
</ng-template>
</div>
</ng-template>
</ng-template> </ng-template>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment