mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
small cleanup
Former-commit-id: 2996ce0cf33337bf52810f1e52b2c02d6eba5c7f
This commit is contained in:
parent
caea30a34f
commit
13350856db
@ -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()));
|
||||
|
Loading…
Reference in New Issue
Block a user