File tree 1 file changed +7
-8
lines changed
crates/viewer/re_viewer/src/ui
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -379,14 +379,13 @@ fn options_menu_ui(
379
379
}
380
380
}
381
381
382
- #[ cfg_attr( target_arch = "wasm32" , allow( clippy:: needless_pass_by_ref_mut) ) ]
383
- fn experimental_feature_ui ( _ui : & mut egui:: Ui , _app_options : & mut re_viewer_context:: AppOptions ) {
384
- // IMPORTANT: if/when adding wasm-compatible experimental features, remove the conditional
385
- // compilation directive just above the call size of this function!!
386
-
387
- #[ cfg( not( target_arch = "wasm32" ) ) ]
388
- _ui
389
- . re_checkbox ( & mut _app_options. experimental_space_view_screenshots , "Space view screenshots" )
382
+ // IMPORTANT: if/when adding wasm-compatible experimental features, move this conditional
383
+ // compilation directive to `space_view_screenshot` and remove the one above the call size of this
384
+ // function!!
385
+ #[ cfg( not( target_arch = "wasm32" ) ) ]
386
+ fn experimental_feature_ui ( ui : & mut egui:: Ui , app_options : & mut re_viewer_context:: AppOptions ) {
387
+ ui
388
+ . re_checkbox ( & mut app_options. experimental_space_view_screenshots , "Space view screenshots" )
390
389
. on_hover_text ( "Allow taking screenshots of 2D and 3D space views via their context menu. Does not contain labels." ) ;
391
390
}
392
391
You can’t perform that action at this time.
0 commit comments