Skip to content

Commit

Permalink
Issue #51 Keep group on search close
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmas committed Jan 8, 2024
1 parent 96cb93a commit 3076640
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/hud/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,14 +299,6 @@ function init (viewerInstance: Viewer) {
windowManager.registerWindow('help-window');
windowManager.registerWindow('groups-window');
windowManager.registerWindow('search-window');
windowManager.getWindow('search-window')?.addEventListener('close', () => {
viewer.getSatelliteGroups()?.clearSelect();
viewer.setSelectedSatelliteGroup();
const listItems = document.querySelectorAll('#groups-display>li');
for (const item of listItems) {
item.classList.remove('selected');
}
});

searchBox.init(viewer, windowManager);

Expand Down

0 comments on commit 3076640

Please sign in to comment.