Skip to content

Commit

Permalink
Fix wrong popover position in fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
pakerwreah committed Jun 25, 2024
1 parent 5f804eb commit 1889fe2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Calendr.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.11.2;
MARKETING_VERSION = 1.11.3;
PRODUCT_BUNDLE_IDENTIFIER = br.paker.Calendr;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Calendr/Config/Calendr-Bridging-Header.h";
Expand All @@ -1319,7 +1319,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.11.2;
MARKETING_VERSION = 1.11.3;
PRODUCT_BUNDLE_IDENTIFIER = br.paker.Calendr;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Calendr/Config/Calendr-Bridging-Header.h";
Expand Down
2 changes: 1 addition & 1 deletion Calendr/Components/Popover.swift
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ private class PopoverWindow: NSWindow {

private func relativePosition(to view: NSView, edge: NSRectEdge, spacing: CGFloat) -> NSPoint? {

guard let viewWindow = view.window, let screen = NSScreen.main else {
guard let viewWindow = view.window, let screen = viewWindow.screen else {
return nil
}

Expand Down

0 comments on commit 1889fe2

Please sign in to comment.