let → const
This commit is contained in:
parent
a4f3877b78
commit
15e6c50641
2 changed files with 10 additions and 10 deletions
|
@ -183,7 +183,7 @@ export function applyConfiguration(): void {
|
|||
}
|
||||
|
||||
export function move(c: Conf, ...ms: Rotation[]): Conf {
|
||||
let res: Partial<Conf> = {};
|
||||
const res: Partial<Conf> = {};
|
||||
for (const pane of allPanes) { res[pane] = applyMoves(c[pane], ms) }
|
||||
return res as Conf;
|
||||
}
|
||||
|
@ -290,7 +290,7 @@ export function fadeTo(newPane: Pane): void {
|
|||
|
||||
|
||||
|
||||
let reducedMotion =
|
||||
const reducedMotion =
|
||||
matchMedia(`(prefers-reduced-motion: reduce),
|
||||
(max-height: 649px), (max-width: 649px)`);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue