Skip to content

Commit

Permalink
fix(ol-contextmenu-control): use partial options
Browse files Browse the repository at this point in the history
  • Loading branch information
d-koppenhagen committed Apr 21, 2024
1 parent 59ed56e commit cbc13da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/mapControls/OlContextMenuControl.vue
Expand Up @@ -8,7 +8,7 @@ import useControl from "@/composables/useControl";
import usePropsAsObjectProperties from "@/composables/usePropsAsObjectProperties";
import { useOpenLayersEvents } from "@/composables/useOpenLayersEvents";
const props = withDefaults(defineProps<Options>(), {
const props = withDefaults(defineProps<Partial<Options>>(), {
eventType: "contextmenu",
defaultItems: true,
width: 150,
Expand Down

0 comments on commit cbc13da

Please sign in to comment.