mirror of
https://github.com/mathuo/dockview
synced 2025-08-28 04:56:22 +00:00
Merge pull request #887 from mathuo/884-cant-drop-tabs-between-panels-and-some-other-issues-with-v4-1
bug: dnd issues
This commit is contained in:
commit
f545a0a5c7
@ -152,6 +152,8 @@ export class TabsContainer
|
||||
this._element.appendChild(this.rightActionsContainer);
|
||||
|
||||
this.addDisposables(
|
||||
this.tabs.onDrop((e) => this._onDrop.fire(e)),
|
||||
this.tabs.onWillShowOverlay((e) => this._onWillShowOverlay.fire(e)),
|
||||
accessor.onDidOptionsChange(() => {
|
||||
this.tabs.showTabsOverflowControl =
|
||||
!accessor.options.disableTabsOverflowList;
|
||||
|
@ -18,10 +18,8 @@
|
||||
|
||||
.dv-groupview {
|
||||
&.dv-active-group {
|
||||
> .dv-tabs-and-actions-container
|
||||
> .dv-scrollable
|
||||
> .dv-tabs-container
|
||||
> .dv-tab {
|
||||
> .dv-tabs-and-actions-container {
|
||||
.dv-tabs-container > .dv-tab {
|
||||
&.dv-active-tab {
|
||||
background-color: var(
|
||||
--dv-activegroup-visiblepanel-tab-background-color
|
||||
@ -36,11 +34,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.dv-inactive-group {
|
||||
> .dv-tabs-and-actions-container
|
||||
> .dv-scrollable
|
||||
> .dv-tabs-container
|
||||
> .dv-tab {
|
||||
> .dv-tabs-and-actions-container {
|
||||
.dv-tabs-container > .dv-tab {
|
||||
&.dv-active-tab {
|
||||
background-color: var(
|
||||
--dv-inactivegroup-visiblepanel-tab-background-color
|
||||
@ -56,6 +53,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* when a tab is dragged we lose the above stylings because they are conditional on parent elements
|
||||
|
@ -216,8 +216,7 @@
|
||||
.dv-groupview {
|
||||
&.dv-active-group {
|
||||
> .dv-tabs-and-actions-container {
|
||||
> .dv-scrollable {
|
||||
> .dv-tabs-container {
|
||||
.dv-tabs-container {
|
||||
> .dv-tab.dv-active-tab {
|
||||
position: relative;
|
||||
|
||||
@ -235,11 +234,9 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.dv-inactive-group {
|
||||
> .dv-tabs-and-actions-container {
|
||||
> .dv-scrollable {
|
||||
> .dv-tabs-container {
|
||||
.dv-tabs-container {
|
||||
> .dv-tab.dv-active-tab {
|
||||
position: relative;
|
||||
|
||||
@ -259,7 +256,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dockview-theme-abyss {
|
||||
@include dockview-theme-abyss-mixin();
|
||||
|
Loading…
x
Reference in New Issue
Block a user