mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 22:35:15 -04:00
patch holes in highlighting query span
+ make sure disable-highlighting works again
This commit is contained in:
@@ -55,7 +55,7 @@ function MiniRepl({ tune, maxHeight = 500 }) {
|
||||
const [ref, isVisible] = useInView({
|
||||
threshold: 0.01,
|
||||
});
|
||||
useHighlighting({ view, pattern, started: cycle.started });
|
||||
useHighlighting({ view, pattern, active: cycle.started });
|
||||
return (
|
||||
<div className="rounded-md overflow-hidden bg-[#444C57]" ref={ref}>
|
||||
<div className="flex justify-between bg-slate-700 border-t border-slate-500">
|
||||
|
||||
Reference in New Issue
Block a user