Skip to content

Commit

Permalink
Merge pull request #218 from cds-astro/fix-redraw-after-footprints
Browse files Browse the repository at this point in the history
fix: request a redraw after adding an array of footprints
  • Loading branch information
tboch authored Jan 15, 2025
2 parents 5f57f03 + e28c37e commit cc8becb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelogs

## unreleased

* [fix] request a redraw after adding an array of footprints [PR #218]

## 3.5.1-beta

* [feat] Add support for name removing in `removeOverlay` method
Expand Down
1 change: 1 addition & 0 deletions src/js/Overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ export let GraphicOverlay = (function() {
for (var k=0, len=overlaysToAdd.length; k<len; k++) {
this.add(overlaysToAdd[k], false);
}
this.view.requestRedraw();
};

// TODO : item doit pouvoir prendre n'importe quoi en param (footprint, circle, polyline)
Expand Down

0 comments on commit cc8becb

Please sign in to comment.