Vertically center glyphs in Line::paint based on ascender/descender for line

This commit is contained in:
Nathan Sobo
2021-04-06 09:15:21 -06:00
parent fc4135d55b
commit 2a9e71d725
5 changed files with 18 additions and 14 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ use gpui::{
color::ColorU,
fonts::{Properties, Weight},
platform::{current as platform, Runner},
Border, Element as _, Quad,
Element as _, Quad,
};
use log::LevelFilter;
use simplelog::SimpleLogger;