render: Fix race during startup
This commit is contained in:
parent
578c77cb69
commit
42af2af37d
1 changed files with 3 additions and 0 deletions
|
|
@ -617,6 +617,9 @@ where
|
||||||
.iter()
|
.iter()
|
||||||
.cloned()
|
.cloned()
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
|
if seats.is_empty() {
|
||||||
|
return Ok(Vec::new());
|
||||||
|
}
|
||||||
let scale = output.current_scale().fractional_scale();
|
let scale = output.current_scale().fractional_scale();
|
||||||
|
|
||||||
elements.extend(cursor_elements(
|
elements.extend(cursor_elements(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue