From 7a7350d0a897da37ee991da0e4eb8a33b0c0d16d Mon Sep 17 00:00:00 2001 From: Shawn Zhong Date: Sat, 5 Oct 2024 23:07:41 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Fix=20custom=20percentage=20posi?= =?UTF-8?q?tion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Loop/Window Management/WindowAction.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Loop/Window Management/WindowAction.swift b/Loop/Window Management/WindowAction.swift index 746d3e75..c8781231 100644 --- a/Loop/Window Management/WindowAction.swift +++ b/Loop/Window Management/WindowAction.swift @@ -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