Commit d3db2722 authored by ibuler's avatar ibuler

[Update] 去掉windows拖拽左侧栏功能功能

parent 0811da45
......@@ -2,7 +2,7 @@
<div fxFlex="1 1 20%" minBasis="100px" maxBasis="800px" fxFlexFill ngxSplitArea *ngIf="DataStore.leftbarshow">
<pages-control-cleftbar></pages-control-cleftbar>
</div>
<div fxFlex="0" ngxSplitHandle></div>
<div fxFlex="0" ngxSplitHandle [style.display]="activeViewIsRdp() ? 'none' : 'block'"></div>
<div fxFlex="1 1 80%" ngxSplitArea class="content">
<pages-control-control></pages-control-control>
</div>
......
......@@ -6,8 +6,8 @@
* @author liuzheng <liuzheng712@gmail.com>
*/
import {Component, OnInit} from '@angular/core';
import {AppService} from '../../app.service';
import {DataStore, User} from '../../globals';
import {NavList} from './control/control.component';
@Component({
selector: 'pages-control',
......@@ -21,6 +21,10 @@ export class PagesControlComponent implements OnInit {
constructor() {
}
activeViewIsRdp() {
return NavList.List[NavList.Active].type === 'rdp';
}
ngOnInit() {
}
......
......@@ -94,6 +94,6 @@ $material-design-icons-font-path: '~/material-design-icons/iconfont/';
button.icon-split-handle.ngx-split-button {
height: 100%;
border: 1px solid #3a3333;
opacity: 0.5;
//border: 1px solid #3a3333;
opacity: 0.0;
}
Markdown is supported
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