Skip to content

Commit

Permalink
Merge pull request #752 from mathuo/739-sonar-code-cleanup
Browse files Browse the repository at this point in the history
chore: sonar
  • Loading branch information
mathuo authored Nov 3, 2024
2 parents 3f5c974 + d8ae04e commit 7ebbd43
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions packages/dockview-core/src/dockview/dockviewComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,12 +592,9 @@ export class DockviewComponent
}
);

let windowExplicitlyClosed = false;

const popoutWindowDisposable = new CompositeDisposable(
_window,
_window.onDidClose(() => {
windowExplicitlyClosed = true;
popoutWindowDisposable.dispose();
})
);
Expand Down
2 changes: 1 addition & 1 deletion packages/dockview-core/src/dockview/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DockviewPanelApi } from '../api/dockviewPanelApi';
import { PanelInitParameters, IPanel } from '../panel/types';
import { DockviewApi } from '../api/component.api';
import { Optional } from '../types';
import { DockviewGroupPanel, IDockviewGroupPanel } from './dockviewGroupPanel';
import { IDockviewGroupPanel } from './dockviewGroupPanel';
import { DockviewPanelRenderer } from '../overlay/overlayRenderContainer';

export interface HeaderPartInitParameters {
Expand Down
2 changes: 1 addition & 1 deletion packages/dockview-core/src/splitview/splitview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class Splitview {
private readonly viewContainer: HTMLElement;
private readonly sashContainer: HTMLElement;
private readonly viewItems: ViewItem[] = [];
private sashes: ISashItem[] = [];
private readonly sashes: ISashItem[] = [];
private _orientation: Orientation;
private _size = 0;
private _orthogonalSize = 0;
Expand Down

0 comments on commit 7ebbd43

Please sign in to comment.