fmt [skip ci]

pull/395/head
Lucas Nogueira 2 years ago
parent 12ee7080b7
commit ed081cdcca
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1

@ -165,22 +165,22 @@ enum ScheduleEvery {
type ScheduleData = type ScheduleData =
| { | {
kind: "At"; kind: "At";
data: { data: {
date: Date; date: Date;
repeating: boolean; repeating: boolean;
}; };
} }
| { | {
kind: "Interval"; kind: "Interval";
data: ScheduleInterval; data: ScheduleInterval;
} }
| { | {
kind: "Every"; kind: "Every";
data: { data: {
interval: ScheduleEvery; interval: ScheduleEvery;
};
}; };
};
class Schedule { class Schedule {
kind: string; kind: string;

@ -1049,12 +1049,12 @@ class WindowManager extends WebviewWindowHandle {
label: this.label, label: this.label,
value: size value: size
? { ? {
type: size.type, type: size.type,
data: { data: {
width: size.width, width: size.width,
height: size.height, height: size.height,
}, },
} }
: null, : null,
}); });
} }
@ -1085,12 +1085,12 @@ class WindowManager extends WebviewWindowHandle {
label: this.label, label: this.label,
value: size value: size
? { ? {
type: size.type, type: size.type,
data: { data: {
width: size.width, width: size.width,
height: size.height, height: size.height,
}, },
} }
: null, : null,
}); });
} }
@ -1892,11 +1892,11 @@ function mapMonitor(m: Monitor | null): Monitor | null {
return m === null return m === null
? null ? null
: { : {
name: m.name, name: m.name,
scaleFactor: m.scaleFactor, scaleFactor: m.scaleFactor,
position: mapPhysicalPosition(m.position), position: mapPhysicalPosition(m.position),
size: mapPhysicalSize(m.size), size: mapPhysicalSize(m.size),
}; };
} }
function mapPhysicalPosition(m: PhysicalPosition): PhysicalPosition { function mapPhysicalPosition(m: PhysicalPosition): PhysicalPosition {

Loading…
Cancel
Save