Skip to content

Commit

Permalink
🐞 Fix custom percentage position
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnZhong committed Oct 6, 2024
1 parent 50b6ec9 commit 7a7350d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Loop/Window Management/WindowAction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ private extension WindowAction {
}

if let yPoint {
result.origin.y += bounds.width * (yPoint / 100.0)
result.origin.y += bounds.height * (yPoint / 100.0)
}
}
} else { // positionMode would be generic
Expand Down

0 comments on commit 7a7350d

Please sign in to comment.