|
|
@ -9,7 +9,7 @@ use skia_safe::{
|
|
|
|
|
|
|
|
|
|
|
|
use super::animation_utils::*;
|
|
|
|
use super::animation_utils::*;
|
|
|
|
use super::{GridRenderer, RendererSettings};
|
|
|
|
use super::{GridRenderer, RendererSettings};
|
|
|
|
use crate::editor::{WindowDrawCommand, LineFragment};
|
|
|
|
use crate::editor::{LineFragment, WindowDrawCommand};
|
|
|
|
use crate::redraw_scheduler::REDRAW_SCHEDULER;
|
|
|
|
use crate::redraw_scheduler::REDRAW_SCHEDULER;
|
|
|
|
use crate::utils::Dimensions;
|
|
|
|
use crate::utils::Dimensions;
|
|
|
|
|
|
|
|
|
|
|
@ -348,7 +348,7 @@ impl RenderedWindow {
|
|
|
|
..
|
|
|
|
..
|
|
|
|
} = line_fragment;
|
|
|
|
} = line_fragment;
|
|
|
|
let grid_position = (*window_left, *window_top);
|
|
|
|
let grid_position = (*window_left, *window_top);
|
|
|
|
grid_renderer.draw_background(canvas, grid_position, *width, &style);
|
|
|
|
grid_renderer.draw_background(canvas, grid_position, *width, style);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
for line_fragment in line_fragments.into_iter() {
|
|
|
|
for line_fragment in line_fragments.into_iter() {
|
|
|
@ -357,7 +357,7 @@ impl RenderedWindow {
|
|
|
|
window_left,
|
|
|
|
window_left,
|
|
|
|
window_top,
|
|
|
|
window_top,
|
|
|
|
width,
|
|
|
|
width,
|
|
|
|
style
|
|
|
|
style,
|
|
|
|
} = line_fragment;
|
|
|
|
} = line_fragment;
|
|
|
|
let grid_position = (window_left, window_top);
|
|
|
|
let grid_position = (window_left, window_top);
|
|
|
|
grid_renderer.draw_foreground(canvas, text, grid_position, width, &style);
|
|
|
|
grid_renderer.draw_foreground(canvas, text, grid_position, width, &style);
|
|
|
|