Skip to content

Commit

Permalink
Fix next event view retaining border on reuse (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
pakerwreah committed Jun 3, 2022
1 parent e36df1b commit 734f4d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Calendr.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.6.0;
MARKETING_VERSION = 1.6.1;
PRODUCT_BUNDLE_IDENTIFIER = br.paker.Calendr;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Calendr/Config/Calendr-Bridging-Header.h";
Expand All @@ -1143,7 +1143,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.6.0;
MARKETING_VERSION = 1.6.1;
PRODUCT_BUNDLE_IDENTIFIER = br.paker.Calendr;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Calendr/Config/Calendr-Bridging-Header.h";
Expand Down
2 changes: 2 additions & 0 deletions Calendr/MenuBar/NextEventView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ class NextEventView: NSView {
.bind { [layer = colorBar.layer] color, style in
switch style {
case .filled:
layer?.borderWidth = 0
layer?.borderColor = nil
layer?.backgroundColor = color

case .bordered:
Expand Down

0 comments on commit 734f4d7

Please sign in to comment.