mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 10:28:03 +01:00
Upgrade Prettier to 2.4.1
This commit is contained in:
@@ -4,9 +4,8 @@
|
||||
export function isWindowDragElement(el: Readonly<Element>): boolean {
|
||||
let currentEl: Element | null = el;
|
||||
do {
|
||||
const appRegion = getComputedStyle(currentEl).getPropertyValue(
|
||||
'-webkit-app-region'
|
||||
);
|
||||
const appRegion =
|
||||
getComputedStyle(currentEl).getPropertyValue('-webkit-app-region');
|
||||
switch (appRegion) {
|
||||
case 'no-drag':
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user