feat: maximized groups

This commit is contained in:
mathuo 2024-01-01 22:33:34 +00:00
parent c195fa19bf
commit bd2d8d7bf6
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281
3 changed files with 7 additions and 30 deletions

View File

@ -11,35 +11,6 @@
z-index: 1;
}
.dv-fullscreen {
z-index: 9;
transition: all 0.25s ease-in-out;
// outline: 1px solid red;
position: absolute;
}
.dv-fullscreen-animate {
top: 0px !important;
left: 0px !important;
width: 100% !important;
height: 100% !important;
}
.dv-fullscreen-close-button {
position: absolute;
bottom: 0px;
right: 0px;
z-index: 999;
width: 20px;
height: 20px;
color: white;
background-color: black;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.dv-gready-render-container {
position: relative;
}

View File

@ -121,7 +121,6 @@ export class LeafNode implements IView {
public setVisible(visible: boolean): void {
if (this.view.setVisible) {
this.view.setVisible(visible);
// this._onDidChange.fire({});
}
}

View File

@ -391,6 +391,13 @@ props.containerApi.addPopoutGroup(props.api.group);
<DockviewPopoutGroup/>
## Maximized Groups
To maximize a group you can all
```tsx
api.maxmimizeGroup(group);
```
## Panels