BlueGit

ict rusty-teams

Files

rusty-teams / vendor / gpui-pre / PATCH.md

PATCH.md

PATCH.md 929 B Download Raw

gpui-pre 0.3.8 patches

Upstream: crates.io gpui-pre 0.3.8. Wired in via [patch.crates-io] in the root Cargo.toml. examples/, tests/ and docs/ are left out; their [[example]] and [[test]] targets are removed from Cargo.toml.

Changed files

FileChangeWhy
src/text_system/line.rspaint_line and paint_line_background place each wrapped line from its leftmost glyph (segment_left_edges) instead of its first glyphRight-to-left runs come back from shaping in visual order over the unwrapped line, so a wrapped Arabic line started off its own right edge and overflowed (GitHub issue 64)
src/elements/div.rsActiveTooltip, set_tooltip_on_window and register_tooltip_mouse_handlers are pub instead of pub(crate)The message text elements in app-ui-kit show a link's URL in a tooltip on hover, with the same delay and hide rules as InteractiveText
Source
1# gpui-pre 0.3.8 patches
2
3Upstream: crates.io `gpui-pre 0.3.8`. Wired in via `[patch.crates-io]` in the root `Cargo.toml`. `examples/`, `tests/` and `docs/` are left out; their `[[example]]` and `[[test]]` targets are removed from `Cargo.toml`.
4
5## Changed files
6
7| File | Change | Why |
8|---|---|---|
9| `src/text_system/line.rs` | `paint_line` and `paint_line_background` place each wrapped line from its leftmost glyph (`segment_left_edges`) instead of its first glyph | Right-to-left runs come back from shaping in visual order over the unwrapped line, so a wrapped Arabic line started off its own right edge and overflowed (GitHub issue 64) |
10| `src/elements/div.rs` | `ActiveTooltip`, `set_tooltip_on_window` and `register_tooltip_mouse_handlers` are `pub` instead of `pub(crate)` | The message text elements in `app-ui-kit` show a link's URL in a tooltip on hover, with the same delay and hide rules as `InteractiveText` |