mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-07 11:28:28 +00:00
Prepare for follow-on change
This commit is contained in:
parent
28a4428c88
commit
000a9a52df
@ -177,7 +177,8 @@ impl ViewerWindow {
|
||||
|
||||
/// Draw the graphics
|
||||
pub fn draw(&mut self) {
|
||||
if !self.window.size().is_valid() {
|
||||
let size_is_valid = self.window.size().is_valid();
|
||||
if !size_is_valid {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user