Pass mininotation locations into highlight state
This commit is contained in:
parent
0b5d905120
commit
aded178ab7
2 changed files with 9 additions and 4 deletions
|
|
@ -85,7 +85,7 @@ const miniLocations = StateField.define({
|
|||
}
|
||||
})
|
||||
.filter(Boolean);
|
||||
locations = Decoration.set(decorations); // -> DecorationSet === RangeSet<Decoration>
|
||||
locations = Decoration.set(decorations, true); // -> DecorationSet === RangeSet<Decoration>
|
||||
}
|
||||
if (e.is(showMiniLocations)) {
|
||||
// this is called every frame to show the locations that are currently active
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue