We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e425212 commit bfc7cd9Copy full SHA for bfc7cd9
examples/gizmos/2d_gizmos.rs
@@ -210,10 +210,6 @@ fn update_config(
210
};
211
}
212
if keyboard.just_pressed(KeyCode::Space) {
213
- if virtual_time.is_paused() {
214
- virtual_time.unpause();
215
- } else {
216
- virtual_time.pause();
217
- }
+ virtual_time.toggle();
218
219
examples/gizmos/3d_gizmos.rs
@@ -292,10 +292,6 @@ fn update_config(
292
config_store.config_mut::<AabbGizmoConfigGroup>().1.draw_all ^= true;
293
294
295
296
297
298
299
300
301
0 commit comments