Skip to content

Commit

Permalink
fix: window rendering too high when primary monitor is oriented verti…
Browse files Browse the repository at this point in the history
…cally

closes #447
  • Loading branch information
ejbills committed Jan 9, 2025
1 parent 1690ce7 commit 78b5745
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ final class SharedPreviewWindowCoordinator: NSWindow {
// Horizontally center the preview to the hovered dock icon
xPosition = flippedIconRect.midX - (windowSize.width / 2)
// Position the preview just above the dock icon
yPosition = screenFrame.minY + flippedIconRect.minY
yPosition = flippedIconRect.minY
case .left:
// Vertically center the preview to the hovered dock icon
xPosition = flippedIconRect.maxX
Expand Down

0 comments on commit 78b5745

Please sign in to comment.