Merge pull request #1286 from zed-industries/grid-renderer

Switch from line-and-character renderer to a direct grid renderer
This commit is contained in:
Mikayla Maki
2022-07-05 17:16:00 -07:00
committed by GitHub
6 changed files with 194 additions and 230 deletions
+2 -1
View File
@@ -1616,7 +1616,7 @@ impl PaintState {
}
}
#[derive(Copy, Clone, PartialEq, Eq)]
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
pub enum CursorShape {
Bar,
Block,
@@ -1629,6 +1629,7 @@ impl Default for CursorShape {
}
}
#[derive(Debug)]
pub struct Cursor {
origin: Vector2F,
block_width: f32,