mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-21 22:38:41 -06:00
uwu
This commit is contained in:
parent
f7f0ca4547
commit
feac14c79c
|
@ -28,9 +28,9 @@ pub fn kubi_ui_end(
|
||||||
mut ui: NonSendSync<UniqueViewMut<UiState>>
|
mut ui: NonSendSync<UniqueViewMut<UiState>>
|
||||||
) {
|
) {
|
||||||
let ui: &mut UiState = &mut ui;
|
let ui: &mut UiState = &mut ui;
|
||||||
let UiState { kui: ui, renderer } = ui;
|
let UiState { kui, renderer } = ui;
|
||||||
ui.end();
|
kui.end();
|
||||||
let (upload_needed, plan) = ui.draw_plan();
|
let (upload_needed, plan) = kui.draw_plan();
|
||||||
if upload_needed {
|
if upload_needed {
|
||||||
renderer.update(plan);
|
renderer.update(plan);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue