1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 15:04:36 +03:00

Make the braille dots smaller (and the code clearer!)

This commit is contained in:
Benoit de Chezelles 2021-07-03 15:57:18 +02:00 committed by Wez Furlong
parent 3d9e791b84
commit 831f3a8b51

View File

@ -4360,7 +4360,8 @@ impl<T: Texture2d> GlyphCache<T> {
let cell_height = self.metrics.cell_size.height as f32 / 4.;
let center_offset_x = cell_width / 2.;
let center_offset_y = cell_height / 2.;
let radius = center_offset_x - (center_offset_x / 10.);
let diameter = cell_width / 2.;
let radius = diameter / 2.;
let (width, height) = buffer.image_dimensions();
let mut pixmap = PixmapMut::from_bytes(