fix: dnd only for same dockview instance

This commit is contained in:
mathuo 2023-02-25 17:56:20 +08:00
parent e7caeb1906
commit 34ea71a09a
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -712,7 +712,7 @@ export class Groupview extends CompositeDisposable implements IGroupview {
): void {
const data = getPanelData();
if (data) {
if (data && data.viewId === this.accessor.id) {
if (data.panelId === null) {
// this is a group move dnd event
const { groupId } = data;