all: add (Clone)Cell::is_some and is_none
This commit is contained in:
parent
7a67784502
commit
54d93f84da
32 changed files with 98 additions and 62 deletions
|
|
@ -84,7 +84,7 @@ impl Renderer<'_> {
|
|||
pub fn render_output(&mut self, output: &OutputNode, x: i32, y: i32) {
|
||||
if self.state.lock.locked.get() {
|
||||
if let Some(surface) = output.lock_surface.get() {
|
||||
if surface.surface.buffer.get().is_some() {
|
||||
if surface.surface.buffer.is_some() {
|
||||
self.render_surface(&surface.surface, x, y, None);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue