Skip to content

Commit

Permalink
Add work-around for #5177
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Feb 12, 2024
1 parent 525a656 commit 739f8a4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/re_viewer/src/ui/welcome_screen/example_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,11 @@ impl ExamplePage {

for example in examples {
if example.clicked(ui, self.id) {
// TODO(#5177): This workaround is needed to avoid the click to "leak"
// through the UI, potentially causing some views (e.g. timeseries or time
// panel to quit auto-zoom mode.
ui.input_mut(|i| i.pointer = Default::default());

let data_source =
re_data_source::DataSource::RrdHttpUrl(example.desc.rrd_url.clone());
command_sender.send_system(
Expand Down

0 comments on commit 739f8a4

Please sign in to comment.