edit prediction: Refine subtle mode flag styles (#25157)
There's still a tiny, 1px shadow being cast in the flag pole that I didn't figure out yet how to fix it. https://github.com/user-attachments/assets/714da320-5995-4bd2-a0dc-6c027b4d91eb Release Notes: - N/A
This commit is contained in:
parent
044be72038
commit
f8770fee10
2 changed files with 16 additions and 11 deletions
|
@ -3628,6 +3628,7 @@ impl EditorElement {
|
|||
const POLE_WIDTH: Pixels = px(2.);
|
||||
|
||||
let mut element = v_flex()
|
||||
.items_end()
|
||||
.child(
|
||||
editor
|
||||
.render_edit_prediction_line_popover("Jump", None, window, cx)?
|
||||
|
@ -3638,10 +3639,9 @@ impl EditorElement {
|
|||
.child(
|
||||
div()
|
||||
.w(POLE_WIDTH)
|
||||
.bg(cx.theme().colors().text_accent.opacity(0.8))
|
||||
.bg(Editor::edit_prediction_callout_popover_border_color(cx))
|
||||
.h(line_height),
|
||||
)
|
||||
.items_end()
|
||||
.into_any();
|
||||
|
||||
let size = element.layout_as_root(AvailableSpace::min_size(), window, cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue