Skip to content

Commit

Permalink
Fixed bug with Yippy window position for permanently shown docks.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattDavo committed Feb 5, 2020
1 parent 0bfa513 commit 397be40
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Yippy.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.1.1;
MARKETING_VERSION = 2.1.2;
PRODUCT_BUNDLE_IDENTIFIER = MatthewDavidson.Yippy;
PRODUCT_MODULE_NAME = "$(PRODUCT_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -1312,7 +1312,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.1.1;
MARKETING_VERSION = 2.1.2;
PRODUCT_BUNDLE_IDENTIFIER = MatthewDavidson.Yippy;
PRODUCT_MODULE_NAME = "$(PRODUCT_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -1485,7 +1485,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.1.1;
MARKETING_VERSION = 2.1.2;
PRODUCT_BUNDLE_IDENTIFIER = MatthewDavidson.YippyBeta;
PRODUCT_MODULE_NAME = "$(PRODUCT_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME) Beta";
Expand Down Expand Up @@ -1609,7 +1609,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.1.1;
MARKETING_VERSION = 2.1.2;
PRODUCT_BUNDLE_IDENTIFIER = MatthewDavidson.YippyBeta;
PRODUCT_MODULE_NAME = "$(PRODUCT_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME) Beta";
Expand Down Expand Up @@ -1740,7 +1740,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.1.1;
MARKETING_VERSION = 2.1.2;
PRODUCT_BUNDLE_IDENTIFIER = MatthewDavidson.YippyXCTest;
PRODUCT_MODULE_NAME = "$(PRODUCT_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
4 changes: 2 additions & 2 deletions Yippy/Sources/Models/PanelPosition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ enum PanelPosition: Int, Codable {
var frame: NSRect {
switch self {
case .right:
return NSRect(x: NSScreen.main!.frame.maxX - Constants.panel.menuWidth, y: NSScreen.main!.visibleFrame.minY, width: Constants.panel.menuWidth, height: NSScreen.main!.frame.maxY)
return NSRect(x: NSScreen.main!.frame.maxX - Constants.panel.menuWidth, y: 0, width: Constants.panel.menuWidth, height: NSScreen.main!.frame.maxY)
case .left:
return NSRect(x: 0, y: NSScreen.main!.visibleFrame.minY, width: Constants.panel.menuWidth, height: NSScreen.main!.frame.maxY)
return NSRect(x: 0, y: 0, width: Constants.panel.menuWidth, height: NSScreen.main!.frame.maxY)
case .top:
return NSRect(x: 0, y: NSScreen.main!.frame.maxY - Constants.panel.menuHeight, width: NSScreen.main!.frame.width, height: Constants.panel.menuHeight)
case .bottom:
Expand Down

0 comments on commit 397be40

Please sign in to comment.