Prepare for follow-on change

This commit is contained in:
Hanno Braun 2025-03-25 21:00:19 +01:00
parent 28a4428c88
commit 000a9a52df

View File

@ -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;
}