Remove extra nits, do not panic on clicking the buffer separator
This commit is contained in:
parent
62d655183b
commit
a6403aad1a
4 changed files with 2 additions and 20 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue