diff --git a/src/render/atlas.rs b/src/render/atlas.rs index 8ad527e..11a469a 100644 --- a/src/render/atlas.rs +++ b/src/render/atlas.rs @@ -57,9 +57,7 @@ impl Atlas { } } } - if target.is_none() { - return None; - } + target?; let mut t = target.unwrap(); let ret = Rect { x: t.x,