Skip to content

Commit 434b5c7

Browse files
author
Ethan Bills
committed
fix: impossible to reach far windows
closes #291
1 parent 3717500 commit 434b5c7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

DockDoor.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@
545545
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
546546
CODE_SIGN_STYLE = Automatic;
547547
COMBINE_HIDPI_IMAGES = YES;
548-
CURRENT_PROJECT_VERSION = 1.2.0;
548+
CURRENT_PROJECT_VERSION = 1.2.1;
549549
DEAD_CODE_STRIPPING = YES;
550550
DEVELOPMENT_ASSET_PATHS = "\"DockDoor/Preview Content\"";
551551
DEVELOPMENT_TEAM = 2Q775S63Q3;
@@ -579,7 +579,7 @@
579579
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
580580
CODE_SIGN_STYLE = Automatic;
581581
COMBINE_HIDPI_IMAGES = YES;
582-
CURRENT_PROJECT_VERSION = 1.2.0;
582+
CURRENT_PROJECT_VERSION = 1.2.1;
583583
DEAD_CODE_STRIPPING = YES;
584584
DEVELOPMENT_ASSET_PATHS = "\"DockDoor/Preview Content\"";
585585
DEVELOPMENT_TEAM = 2Q775S63Q3;

DockDoor/Views/Hover Window/WindowDismissalContainer.swift

+5
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ class MouseTrackingNSView: NSView {
7272
}
7373

7474
deinit {
75+
clearTimer()
76+
}
77+
78+
private func clearTimer() {
7579
trackingTimer?.invalidate()
7680
}
7781

@@ -88,6 +92,7 @@ class MouseTrackingNSView: NSView {
8892
cancelFadeOut()
8993
setWindowOpacity(to: 1.0, duration: 0.2)
9094

95+
clearTimer()
9196
SharedPreviewWindowCoordinator.shared.cancelDebounceWorkItem()
9297
}
9398

0 commit comments

Comments
 (0)