mirror of
https://github.com/mathuo/dockview
synced 2025-09-14 13:17:58 +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._element.appendChild(this.rightActionsContainer);
|
||||||
|
|
||||||
this.addDisposables(
|
this.addDisposables(
|
||||||
|
this.tabs.onDrop((e) => this._onDrop.fire(e)),
|
||||||
|
this.tabs.onWillShowOverlay((e) => this._onWillShowOverlay.fire(e)),
|
||||||
accessor.onDidOptionsChange(() => {
|
accessor.onDidOptionsChange(() => {
|
||||||
this.tabs.showTabsOverflowControl =
|
this.tabs.showTabsOverflowControl =
|
||||||
!accessor.options.disableTabsOverflowList;
|
!accessor.options.disableTabsOverflowList;
|
||||||
|
@ -18,10 +18,8 @@
|
|||||||
|
|
||||||
.dv-groupview {
|
.dv-groupview {
|
||||||
&.dv-active-group {
|
&.dv-active-group {
|
||||||
> .dv-tabs-and-actions-container
|
> .dv-tabs-and-actions-container {
|
||||||
> .dv-scrollable
|
.dv-tabs-container > .dv-tab {
|
||||||
> .dv-tabs-container
|
|
||||||
> .dv-tab {
|
|
||||||
&.dv-active-tab {
|
&.dv-active-tab {
|
||||||
background-color: var(
|
background-color: var(
|
||||||
--dv-activegroup-visiblepanel-tab-background-color
|
--dv-activegroup-visiblepanel-tab-background-color
|
||||||
@ -36,11 +34,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
&.dv-inactive-group {
|
&.dv-inactive-group {
|
||||||
> .dv-tabs-and-actions-container
|
> .dv-tabs-and-actions-container {
|
||||||
> .dv-scrollable
|
.dv-tabs-container > .dv-tab {
|
||||||
> .dv-tabs-container
|
|
||||||
> .dv-tab {
|
|
||||||
&.dv-active-tab {
|
&.dv-active-tab {
|
||||||
background-color: var(
|
background-color: var(
|
||||||
--dv-inactivegroup-visiblepanel-tab-background-color
|
--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
|
* when a tab is dragged we lose the above stylings because they are conditional on parent elements
|
||||||
|
@ -216,8 +216,7 @@
|
|||||||
.dv-groupview {
|
.dv-groupview {
|
||||||
&.dv-active-group {
|
&.dv-active-group {
|
||||||
> .dv-tabs-and-actions-container {
|
> .dv-tabs-and-actions-container {
|
||||||
> .dv-scrollable {
|
.dv-tabs-container {
|
||||||
> .dv-tabs-container {
|
|
||||||
> .dv-tab.dv-active-tab {
|
> .dv-tab.dv-active-tab {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
@ -235,11 +234,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
&.dv-inactive-group {
|
&.dv-inactive-group {
|
||||||
> .dv-tabs-and-actions-container {
|
> .dv-tabs-and-actions-container {
|
||||||
> .dv-scrollable {
|
.dv-tabs-container {
|
||||||
> .dv-tabs-container {
|
|
||||||
> .dv-tab.dv-active-tab {
|
> .dv-tab.dv-active-tab {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
@ -259,7 +256,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.dockview-theme-abyss {
|
.dockview-theme-abyss {
|
||||||
@include dockview-theme-abyss-mixin();
|
@include dockview-theme-abyss-mixin();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user