File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 47
47
import type { BaseMarkProps , PlotContext , PlotDefaults } from ' $lib/types.js' ;
48
48
import { clientToLayerCoordinates } from ' ./helpers/events.js' ;
49
49
50
- let { brush = $bindable (), ... markProps }: BrushMarkProps = $props ();
50
+ let { brush = $bindable ({ enabled: false } ), ... markProps }: BrushMarkProps = $props ();
51
51
52
52
const DEFAULTS = {
53
53
stroke: ' currentColor' ,
Original file line number Diff line number Diff line change 7
7
import type { PlotDefaults } from ' ../types.js' ;
8
8
import { getContext } from ' svelte' ;
9
9
10
- let { brush = $bindable (), ... options }: BrushXMarkProps = $props ();
10
+ let { brush = $bindable ({ enabled: false } ), ... options }: BrushXMarkProps = $props ();
11
11
const DEFAULTS = {
12
12
... getContext <PlotDefaults >(' svelteplot/_defaults' ).brush ,
13
13
... getContext <PlotDefaults >(' svelteplot/_defaults' ).brushX
Original file line number Diff line number Diff line change 7
7
import type { PlotDefaults } from ' ../types.js' ;
8
8
import { getContext } from ' svelte' ;
9
9
10
- let { brush = $bindable (), ... options }: BrushYMarkProps = $props ();
10
+ let { brush = $bindable ({ enabled: false } ), ... options }: BrushYMarkProps = $props ();
11
11
const DEFAULTS = {
12
12
... getContext <PlotDefaults >(' svelteplot/_defaults' ).brush ,
13
13
... getContext <PlotDefaults >(' svelteplot/_defaults' ).brushY
You can’t perform that action at this time.
0 commit comments