Skip to content

Commit

Permalink
Fix missing properties.mode on vertex and midpoint (#1221) (h/t @…
Browse files Browse the repository at this point in the history
…oodavid and @varna)

Co-authored-by: Stepan Kuzmin <[email protected]>
  • Loading branch information
varna and stepankuzmin authored Jun 28, 2024
1 parent 2cc3d77 commit 105e642
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default function render() {
const feature = store.get(id);
const featureInternal = feature.internal(mode);
store.ctx.events.currentModeRender(featureInternal, (geojson) => {
geojson.properties.mode = mode;
store.sources[source].push(geojson);
});
}
Expand Down

0 comments on commit 105e642

Please sign in to comment.