Remove extra nits, do not panic on clicking the buffer separator

This commit is contained in:
Kirill Bulatov 2023-12-15 11:28:48 +02:00
parent 62d655183b
commit a6403aad1a
4 changed files with 2 additions and 20 deletions

View file

@ -1255,7 +1255,6 @@ impl<'a> WindowContext<'a> {
/// Draw pixels to the display for this window based on the contents of its scene.
pub(crate) fn draw(&mut self) -> Scene {
let t0 = std::time::Instant::now();
self.window.dirty = false;
self.window.drawing = true;
@ -1347,7 +1346,6 @@ impl<'a> WindowContext<'a> {
}
self.window.drawing = false;
eprintln!("window draw: {:?}", t0.elapsed());
scene
}