Skip to content

Commit

Permalink
Update to latest egui master, with better tooltips (#6464)
Browse files Browse the repository at this point in the history
Tooltips are now:
* Correctly placed right away
* Better sized
* Fade in
* Take longer before they appear
* Once one tooltip is visible, other tooltips appear right away

### 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)
* [ ] I have tested the web demo (if applicable):
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/6464?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/6464?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/6464)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)

To run all checks from `main`, comment on the PR with `@rerun-bot
full-check`.
  • Loading branch information
emilk authored May 31, 2024
1 parent 3fd7a32 commit 9c571de
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1564,7 +1564,7 @@ checksum = "68b0cf012f1230e43cd00ebb729c6bb58707ecfa8ad08b52ef3a4ccd2697fc30"
[[package]]
name = "ecolor"
version = "0.27.2"
source = "git+https://github.com/emilk/egui.git?rev=913cef33610dbeb17485534f64864ca8af5d9b72#913cef33610dbeb17485534f64864ca8af5d9b72"
source = "git+https://github.com/emilk/egui.git?rev=86560554bcb16e90530f58c120dc29b7a24b1486#86560554bcb16e90530f58c120dc29b7a24b1486"
dependencies = [
"bytemuck",
"serde",
Expand All @@ -1573,7 +1573,7 @@ dependencies = [
[[package]]
name = "eframe"
version = "0.27.2"
source = "git+https://github.com/emilk/egui.git?rev=913cef33610dbeb17485534f64864ca8af5d9b72#913cef33610dbeb17485534f64864ca8af5d9b72"
source = "git+https://github.com/emilk/egui.git?rev=86560554bcb16e90530f58c120dc29b7a24b1486#86560554bcb16e90530f58c120dc29b7a24b1486"
dependencies = [
"ahash",
"bytemuck",
Expand Down Expand Up @@ -1609,7 +1609,7 @@ dependencies = [
[[package]]
name = "egui"
version = "0.27.2"
source = "git+https://github.com/emilk/egui.git?rev=913cef33610dbeb17485534f64864ca8af5d9b72#913cef33610dbeb17485534f64864ca8af5d9b72"
source = "git+https://github.com/emilk/egui.git?rev=86560554bcb16e90530f58c120dc29b7a24b1486#86560554bcb16e90530f58c120dc29b7a24b1486"
dependencies = [
"accesskit",
"ahash",
Expand All @@ -1626,7 +1626,7 @@ dependencies = [
[[package]]
name = "egui-wgpu"
version = "0.27.2"
source = "git+https://github.com/emilk/egui.git?rev=913cef33610dbeb17485534f64864ca8af5d9b72#913cef33610dbeb17485534f64864ca8af5d9b72"
source = "git+https://github.com/emilk/egui.git?rev=86560554bcb16e90530f58c120dc29b7a24b1486#86560554bcb16e90530f58c120dc29b7a24b1486"
dependencies = [
"ahash",
"bytemuck",
Expand All @@ -1645,7 +1645,7 @@ dependencies = [
[[package]]
name = "egui-winit"
version = "0.27.2"
source = "git+https://github.com/emilk/egui.git?rev=913cef33610dbeb17485534f64864ca8af5d9b72#913cef33610dbeb17485534f64864ca8af5d9b72"
source = "git+https://github.com/emilk/egui.git?rev=86560554bcb16e90530f58c120dc29b7a24b1486#86560554bcb16e90530f58c120dc29b7a24b1486"
dependencies = [
"accesskit_winit",
"ahash",
Expand Down Expand Up @@ -1685,7 +1685,7 @@ dependencies = [
[[package]]
name = "egui_extras"
version = "0.27.2"
source = "git+https://github.com/emilk/egui.git?rev=913cef33610dbeb17485534f64864ca8af5d9b72#913cef33610dbeb17485534f64864ca8af5d9b72"
source = "git+https://github.com/emilk/egui.git?rev=86560554bcb16e90530f58c120dc29b7a24b1486#86560554bcb16e90530f58c120dc29b7a24b1486"
dependencies = [
"ahash",
"egui",
Expand All @@ -1701,7 +1701,7 @@ dependencies = [
[[package]]
name = "egui_glow"
version = "0.27.2"
source = "git+https://github.com/emilk/egui.git?rev=913cef33610dbeb17485534f64864ca8af5d9b72#913cef33610dbeb17485534f64864ca8af5d9b72"
source = "git+https://github.com/emilk/egui.git?rev=86560554bcb16e90530f58c120dc29b7a24b1486#86560554bcb16e90530f58c120dc29b7a24b1486"
dependencies = [
"ahash",
"bytemuck",
Expand All @@ -1719,7 +1719,7 @@ dependencies = [
[[package]]
name = "egui_plot"
version = "0.27.2"
source = "git+https://github.com/emilk/egui.git?rev=913cef33610dbeb17485534f64864ca8af5d9b72#913cef33610dbeb17485534f64864ca8af5d9b72"
source = "git+https://github.com/emilk/egui.git?rev=86560554bcb16e90530f58c120dc29b7a24b1486#86560554bcb16e90530f58c120dc29b7a24b1486"
dependencies = [
"ahash",
"egui",
Expand Down Expand Up @@ -1762,7 +1762,7 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07"
[[package]]
name = "emath"
version = "0.27.2"
source = "git+https://github.com/emilk/egui.git?rev=913cef33610dbeb17485534f64864ca8af5d9b72#913cef33610dbeb17485534f64864ca8af5d9b72"
source = "git+https://github.com/emilk/egui.git?rev=86560554bcb16e90530f58c120dc29b7a24b1486#86560554bcb16e90530f58c120dc29b7a24b1486"
dependencies = [
"bytemuck",
"serde",
Expand Down Expand Up @@ -1863,7 +1863,7 @@ dependencies = [
[[package]]
name = "epaint"
version = "0.27.2"
source = "git+https://github.com/emilk/egui.git?rev=913cef33610dbeb17485534f64864ca8af5d9b72#913cef33610dbeb17485534f64864ca8af5d9b72"
source = "git+https://github.com/emilk/egui.git?rev=86560554bcb16e90530f58c120dc29b7a24b1486#86560554bcb16e90530f58c120dc29b7a24b1486"
dependencies = [
"ab_glyph",
"ahash",
Expand Down
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -453,13 +453,13 @@ missing_errors_doc = "allow"
# As a last resport, patch with a commit to our own repository.
# ALWAYS document what PR the commit hash is part of, or when it was merged into the upstream trunk.

ecolor = { git = "https://github.com/emilk/egui.git", rev = "913cef33610dbeb17485534f64864ca8af5d9b72" } # egui master 2024-05-29
eframe = { git = "https://github.com/emilk/egui.git", rev = "913cef33610dbeb17485534f64864ca8af5d9b72" } # egui master 2024-05-29
egui = { git = "https://github.com/emilk/egui.git", rev = "913cef33610dbeb17485534f64864ca8af5d9b72" } # egui master 2024-05-29
egui_extras = { git = "https://github.com/emilk/egui.git", rev = "913cef33610dbeb17485534f64864ca8af5d9b72" } # egui master 2024-05-29
egui_plot = { git = "https://github.com/emilk/egui.git", rev = "913cef33610dbeb17485534f64864ca8af5d9b72" } # egui master 2024-05-29
egui-wgpu = { git = "https://github.com/emilk/egui.git", rev = "913cef33610dbeb17485534f64864ca8af5d9b72" } # egui master 2024-05-29
emath = { git = "https://github.com/emilk/egui.git", rev = "913cef33610dbeb17485534f64864ca8af5d9b72" } # egui master 2024-05-29
ecolor = { git = "https://github.com/emilk/egui.git", rev = "86560554bcb16e90530f58c120dc29b7a24b1486" } # egui master 2024-05-31
eframe = { git = "https://github.com/emilk/egui.git", rev = "86560554bcb16e90530f58c120dc29b7a24b1486" } # egui master 2024-05-31
egui = { git = "https://github.com/emilk/egui.git", rev = "86560554bcb16e90530f58c120dc29b7a24b1486" } # egui master 2024-05-31
egui_extras = { git = "https://github.com/emilk/egui.git", rev = "86560554bcb16e90530f58c120dc29b7a24b1486" } # egui master 2024-05-31
egui_plot = { git = "https://github.com/emilk/egui.git", rev = "86560554bcb16e90530f58c120dc29b7a24b1486" } # egui master 2024-05-31
egui-wgpu = { git = "https://github.com/emilk/egui.git", rev = "86560554bcb16e90530f58c120dc29b7a24b1486" } # egui master 2024-05-31
emath = { git = "https://github.com/emilk/egui.git", rev = "86560554bcb16e90530f58c120dc29b7a24b1486" } # egui master 2024-05-31

# Useful while developing:
# ecolor = { path = "../../egui/crates/ecolor" }
Expand Down

0 comments on commit 9c571de

Please sign in to comment.