File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
crates/viewer/re_viewer/src Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -559,8 +559,15 @@ impl App {
559
559
560
560
let Ok ( url) = crate :: open_url:: ViewerOpenUrl :: new (
561
561
store_hub,
562
- UrlContext :: from_context_expanded ( display_mode, time_ctrl. as_deref ( ) , selection)
563
- . without_time_range ( ) ,
562
+ UrlContext :: from_context_expanded (
563
+ display_mode,
564
+ time_ctrl
565
+ . as_deref ( )
566
+ // Only update `when` fragment when paused.
567
+ . filter ( |time_ctrl| matches ! ( time_ctrl. play_state( ) , PlayState :: Paused ) ) ,
568
+ selection,
569
+ )
570
+ . without_time_range ( ) ,
564
571
)
565
572
// History entries expect the url parameter, not the full url, therefore don't pass a base url.
566
573
. and_then ( |url| url. sharable_url ( None ) ) else {
Original file line number Diff line number Diff line change @@ -233,6 +233,7 @@ impl ViewerOpenUrl {
233
233
}
234
234
#[ cfg( target_arch = "wasm32" ) ]
235
235
{
236
+ _ = path_buf;
236
237
Err ( anyhow:: anyhow!(
237
238
"Can't share links to local files on the web."
238
239
) )
You can’t perform that action at this time.
0 commit comments