Skip to content

Commit 6871d48

Browse files
authored
fix(ol-interaction-select): the style property was always overruled with a default style
By reversing the default and the options it's now possible to add a style function fixes #428 (#431)
1 parent 3a7ca02 commit 6871d48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/interaction/OlInteractionSelect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ const properties = usePropsAsObjectProperties(props);
3131
const select = computed(
3232
() =>
3333
new Select({
34-
...(properties as Options),
3534
style: new Style(),
35+
...(properties as Options),
3636
}),
3737
);
3838

0 commit comments

Comments
 (0)