From 31b03f5dcc70df508351121940a815ea3de4e8a3 Mon Sep 17 00:00:00 2001 From: Stepan Bujnak Date: Tue, 10 Dec 2024 18:41:46 +0100 Subject: [PATCH] macos: fix vertical resizing --- macos/Sources/Ghostty/Ghostty.App.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macos/Sources/Ghostty/Ghostty.App.swift b/macos/Sources/Ghostty/Ghostty.App.swift index 9056e692a..36cfa5b27 100644 --- a/macos/Sources/Ghostty/Ghostty.App.swift +++ b/macos/Sources/Ghostty/Ghostty.App.swift @@ -1089,7 +1089,7 @@ extension Ghostty { guard let surface = target.target.surface else { return } guard let surfaceView = self.surfaceView(from: surface) else { return } let backingSize = NSSize(width: Double(v.width), height: Double(v.height)) - surfaceView.cellSize = surfaceView.convertFromBacking(backingSize) + surfaceView.cellSize = backingSize default: assertionFailure()