mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: fix vertical resizing
This commit is contained in:
@ -1089,7 +1089,7 @@ extension Ghostty {
|
|||||||
guard let surface = target.target.surface else { return }
|
guard let surface = target.target.surface else { return }
|
||||||
guard let surfaceView = self.surfaceView(from: surface) else { return }
|
guard let surfaceView = self.surfaceView(from: surface) else { return }
|
||||||
let backingSize = NSSize(width: Double(v.width), height: Double(v.height))
|
let backingSize = NSSize(width: Double(v.width), height: Double(v.height))
|
||||||
surfaceView.cellSize = surfaceView.convertFromBacking(backingSize)
|
surfaceView.cellSize = backingSize
|
||||||
|
|
||||||
default:
|
default:
|
||||||
assertionFailure()
|
assertionFailure()
|
||||||
|
Reference in New Issue
Block a user