mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
apprt/embedded: setfontsize
This commit is contained in:
@ -414,7 +414,7 @@ pub const Surface = struct {
|
||||
if (opts.font_size != 0) {
|
||||
var font_size = self.core_surface.font_size;
|
||||
font_size.points = opts.font_size;
|
||||
self.core_surface.setFontSize(font_size);
|
||||
try self.core_surface.setFontSize(font_size);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user