Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pelord committed Jan 25, 2024
1 parent 60bff36 commit 55e9d86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,9 @@ export class BottomPanelComponent implements OnInit, OnDestroy {
}

closePanelLegend() {
// this flushes the legend whenever a user closes the panel. if not, the user has to click twice on the legend button to open the legend with the button
/* this flushes the legend whenever a user closes the panel. if not,
the user has to click twice on the legend button to open the legend with the button
*/
this.legendPanelOpened = false;
this.closePanel();
this.closeLegend.emit();
Expand Down
4 changes: 3 additions & 1 deletion src/app/pages/portal/panels/sidepanel/sidepanel.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ export class SidePanelComponent implements OnInit, OnDestroy {
}

closePanelLegend() {
// this flushes the legend whenever a user closes the panel. if not, the user has to click twice on the legend button to open the legend with the button
/* this flushes the legend whenever a user closes the panel. if not,
the user has to click twice on the legend button to open the legend with the button
*/
this.legendPanelOpened = false;
this.closeLegend.emit();
this.map.propertyChange$.unsubscribe;
Expand Down

0 comments on commit 55e9d86

Please sign in to comment.