Skip to content

Commit b2471b8

Browse files
mmstickjackpot51
authored andcommitted
fix: TypeScript compile error
1 parent 5506f35 commit b2471b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/extension.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ export class Ext extends Ecs.System<ExtEvent> {
10121012
work = win.meta.get_workspace().index()
10131013
}
10141014

1015-
for (const [_entity, compare] of this.windows.iter()) {
1015+
for (const [, compare] of this.windows.iter()) {
10161016
const is_same_space = compare.meta.get_monitor() === mon
10171017
&& compare.meta.get_workspace().index() === work;
10181018
if (is_same_space && !this.contains_tag(compare.entity, Tags.Floating)) {
@@ -1310,7 +1310,7 @@ export class Ext extends Ecs.System<ExtEvent> {
13101310

13111311
const index = ws.index()
13121312
const coord: [number, number] = [src.x, src.y]
1313-
1313+
13141314
let nearest_window = null
13151315
let nearest_distance = null
13161316

@@ -1339,7 +1339,7 @@ export class Ext extends Ecs.System<ExtEvent> {
13391339
const monitor = win.meta.get_monitor();
13401340
if (this.auto_tiler && win.is_tilable(this)) {
13411341
win.ignore_detach = true;
1342-
1342+
13431343
place_on_nearest_window(this.auto_tiler, neighbor, monitor)
13441344

13451345
if (win.meta.minimized) {

0 commit comments

Comments
 (0)