Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tree::active_tiles for getting visible tiles #42

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

emilk
Copy link
Member

@emilk emilk commented Jan 3, 2024

This function returns all tiles that are visible and not in a background (inactive) tab.

@emilk emilk added the enhancement New feature or request label Jan 3, 2024
@emilk emilk merged commit 001f63a into main Jan 3, 2024
8 of 9 checks passed
@emilk emilk deleted the emilk/active-tabs branch January 3, 2024 16:22
Wumpf added a commit to rerun-io/rerun that referenced this pull request Jan 18, 2024
…eading (#4864)

### What

Removes a workaround where we had track the tiles that were visible last
frame. Resolved now due to

* rerun-io/egui_tiles#42


### 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/4864/index.html)
* Using examples from latest `main` build:
[app.rerun.io](https://app.rerun.io/pr/4864/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/4864/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

- [PR Build Summary](https://build.rerun.io/pr/4864)
- [Docs
preview](https://rerun.io/preview/56cae2d11d8d4c5bd8df2a07e2814992c2d200f7/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/56cae2d11d8d4c5bd8df2a07e2814992c2d200f7/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant