Skip to content

Commit

Permalink
Fixed return statement in OlStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Athdemond authored Mar 5, 2024
1 parent 70c3878 commit ccb4bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/styles/OlStyle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const setStyle = (val: StyleLike) => {
const styleFunc = computed<StyleLike>(() => {
return (feature, resolution) => {
if (properties.overrideStyleFunction) {
properties.overrideStyleFunction(feature, style.value, resolution);
return properties.overrideStyleFunction(feature, style.value, resolution);
}
return style.value;
};
Expand Down

0 comments on commit ccb4bb7

Please # to comment.