mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-05 19:08:17 +00:00
macOS: Notify macOS of cell width/height for firstRect (#8490)
Related to #2473 This fixes an issue where the dictation icon didn't show the language picker.
This commit is contained in:
@@ -1710,7 +1710,7 @@ extension Ghostty.SurfaceView: NSTextInputClient {
|
||||
|
||||
// Ghostty coordinates are in top-left (0, 0) so we have to convert to
|
||||
// bottom-left since that is what UIKit expects
|
||||
let viewRect = NSMakeRect(x, frame.size.height - y, 0, 0)
|
||||
let viewRect = NSMakeRect(x, frame.size.height - y, cellSize.width, cellSize.height)
|
||||
|
||||
// Convert the point to the window coordinates
|
||||
let winRect = self.convert(viewRect, to: nil)
|
||||
|
Reference in New Issue
Block a user