Upgrade Prettier to 2.4.1
This commit is contained in:
parent
f204784afe
commit
5619eeca83
176 changed files with 1961 additions and 2465 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue