From fb95abcee8bbabf8d7776a6d754cd88317fe2dfe Mon Sep 17 00:00:00 2001 From: Imbris Date: Thu, 25 Apr 2019 16:20:44 -0400 Subject: [PATCH] small cleanup Former-commit-id: 2996ce0cf33337bf52810f1e52b2c02d6eba5c7f --- voxygen/src/ui/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voxygen/src/ui/mod.rs b/voxygen/src/ui/mod.rs index 8f296d0672..c3d9225a32 100644 --- a/voxygen/src/ui/mod.rs +++ b/voxygen/src/ui/mod.rs @@ -375,8 +375,8 @@ impl Ui { let Primitive { kind, scizzor, - id: _id, rect, + ... } = prim; // Check for a change in the scizzor @@ -441,7 +441,7 @@ impl Ui { _ => {} } - // Switch to the `Image` state for this image if we're not in it already. + // Switch to the image state if we are not in it already if let State::Plain = current_state { self.draw_commands .push(DrawCommand::plain(renderer.create_model(&mesh).unwrap()));