Skip to content

Commit 173f01b

Browse files
committed
Give window a default size
1 parent bff711f commit 173f01b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Sources/SuggestionWidget/WidgetWindowsController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ public final class WidgetWindows {
789789
@MainActor
790790
lazy var toastWindow = {
791791
let it = WidgetWindow(
792-
contentRect: .zero,
792+
contentRect: .init(x: 0, y: 0, width: Style.panelWidth, height: Style.panelHeight),
793793
styleMask: [.borderless],
794794
backing: .buffered,
795795
defer: false

0 commit comments

Comments
 (0)