mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-06-01 17:41:25 +00:00
ci: cleanup
This commit is contained in:
@@ -223,12 +223,13 @@ fn getFaceFromEntry(
|
||||
|
||||
// Calculate the scale factor for this
|
||||
// entry now that we have a loaded face.
|
||||
entry.scale_factor = .{
|
||||
.scale = self.scaleFactor(
|
||||
if (entry.scale_factor == .adjustment) {
|
||||
const factor = self.scaleFactor(
|
||||
face.getMetrics(),
|
||||
entry.scale_factor.adjustment,
|
||||
),
|
||||
};
|
||||
);
|
||||
entry.scale_factor = .{ .scale = factor };
|
||||
}
|
||||
|
||||
// If our scale factor is something other
|
||||
// than 1.0 then we need to resize the face.
|
||||
|
||||
Reference in New Issue
Block a user