Skip to content

Commit

Permalink
Don't show the blueprint section when selecting recordings (#5245)
Browse files Browse the repository at this point in the history
### What


Before/after:

<img width="254" alt="image"
src="https://github.com/rerun-io/rerun/assets/49431240/77a4df08-e5f4-46de-b521-d29c56decde0">
<img width="426" alt="image"
src="https://github.com/rerun-io/rerun/assets/49431240/4211b456-4019-46ee-8895-37b87956d5d8">


### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] I've included a screenshot or gif (if applicable)
* [x] I have tested the web demo (if applicable):
* Using newly built examples:
[app.rerun.io](https://app.rerun.io/pr/5245/index.html)
* Using examples from latest `main` build:
[app.rerun.io](https://app.rerun.io/pr/5245/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[app.rerun.io](https://app.rerun.io/pr/5245/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG
* [x] If applicable, add a new check to the [release
checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)!

- [PR Build Summary](https://build.rerun.io/pr/5245)
- [Docs
preview](https://rerun.io/preview/f99b4fceb456be7d3b3d304a7d469dee7f1c8a3e/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/f99b4fceb456be7d3b3d304a7d469dee7f1c8a3e/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
  • Loading branch information
abey79 authored Feb 21, 2024
1 parent 3c85348 commit 9b37940
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions crates/re_viewer/src/ui/selection_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ fn show_list_item_for_container_child(

fn has_blueprint_section(item: &Item) -> bool {
match item {
Item::ComponentPath(_) | Item::Container(_) => false,
Item::StoreId(_) | Item::ComponentPath(_) | Item::Container(_) => false,
Item::InstancePath(space_view_id, instance_path) => {
space_view_id.is_some() && instance_path.instance_key.is_splat()
}
Expand Down Expand Up @@ -1314,12 +1314,12 @@ fn depth_from_world_scale_ui(ui: &mut egui::Ui, property: &mut EditableAutoValue
let mut value = *property.get();
let speed = (value * 0.05).at_least(0.01);
let response = ui
.add(
egui::DragValue::new(&mut value)
.clamp_range(0.0..=1.0e8)
.speed(speed),
)
.on_hover_text("How many steps in the depth image correspond to one world-space unit. For instance, 1000 means millimeters.\n\
.add(
egui::DragValue::new(&mut value)
.clamp_range(0.0..=1.0e8)
.speed(speed),
)
.on_hover_text("How many steps in the depth image correspond to one world-space unit. For instance, 1000 means millimeters.\n\
Double-click to reset.");
if response.double_clicked() {
// reset to auto - the exact value will be restored somewhere else
Expand Down

0 comments on commit 9b37940

Please sign in to comment.