Skip to content

Commit a2f606a

Browse files
authored
added explicit call to state.update since figure was not updating on input (#661)
1 parent 4343bc3 commit a2f606a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • code/beginner/tutorial6-uniforms/src

code/beginner/tutorial6-uniforms/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,7 @@ impl State {
485485
event_loop.exit();
486486
} else {
487487
self.camera_controller.handle_key(key, pressed);
488+
self.update();
488489
}
489490
}
490491

0 commit comments

Comments
 (0)