More best practice way
This commit is contained in:
parent
1cff8df36b
commit
281e4eb9f0
@ -95,7 +95,7 @@ impl SheetGui for CharacterSheet {
|
|||||||
ui.label("Matériel");
|
ui.label("Matériel");
|
||||||
ui.add(DragValue::new(&mut materiel));
|
ui.add(DragValue::new(&mut materiel));
|
||||||
});
|
});
|
||||||
return (base, carac, materiel);
|
(base, carac, materiel)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn gui_address(&mut self, ui: &mut Ui) {
|
fn gui_address(&mut self, ui: &mut Ui) {
|
||||||
|
Loading…
Reference in New Issue
Block a user