Skip to content

Commit

Permalink
[bugfix] Allow user to edit colormap for depth images (#3241)
Browse files Browse the repository at this point in the history
### What
Resolves: #3240

### 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 [demo.rerun.io](https://demo.rerun.io/pr/3241) (if
applicable)

- [PR Build Summary](https://build.rerun.io/pr/3241)
- [Docs
preview](https://rerun.io/preview/168d18e5a2e461d4a6a4cce14775382cb80f44ca/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/168d18e5a2e461d4a6a4cce14775382cb80f44ca/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://ref.rerun.io/dev/bench/)
- [Wasm size tracking](https://ref.rerun.io/dev/sizes/)
  • Loading branch information
jleibs authored Sep 7, 2023
1 parent b1e163f commit 275da16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/re_viewer/src/ui/selection_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ fn colormap_props_ui(ui: &mut egui::Ui, entity_props: &mut EntityProperties) {
.selectable_label(current == proposed, proposed.to_string())
.clicked()
{
entity_props.color_mapper = EditableAutoValue::Auto(proposed);
entity_props.color_mapper = EditableAutoValue::UserEdited(proposed);
}
};

Expand Down

0 comments on commit 275da16

Please sign in to comment.