assistant2: Highlight crease on selection (#24358)
Give the inline file crease inside of `assistant2`'s editor a selection background when there is a selection over it Release Notes: - N/A --------- Co-authored-by: Piotr <piotr@zed.dev> Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
This commit is contained in:
parent
78a8002415
commit
f609abb48c
5 changed files with 70 additions and 24 deletions
|
@ -1142,7 +1142,7 @@ impl Editor {
|
|||
let editor = cx.entity().downgrade();
|
||||
let fold_placeholder = FoldPlaceholder {
|
||||
constrain_width: true,
|
||||
render: Arc::new(move |fold_id, fold_range, _, cx| {
|
||||
render: Arc::new(move |fold_id, fold_range, cx| {
|
||||
let editor = editor.clone();
|
||||
div()
|
||||
.id(fold_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue