diff --git a/voxygen/src/ui/mod.rs b/voxygen/src/ui/mod.rs index 48afa796f9..0ebef4ea04 100644 --- a/voxygen/src/ui/mod.rs +++ b/voxygen/src/ui/mod.rs @@ -676,7 +676,11 @@ impl Ui { if intersection.is_valid() { intersection } else { - Aabr::new_empty(Vec2::zero()) + // TODO: What should we return here + // We used to return a zero sized aabr but it's invalid to + // use a zero sized scissor so for now we just don't change + // the scissor. + current_scissor } }; if new_scissor != current_scissor {