Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Lopez committed Aug 16, 2024
1 parent 218c172 commit 37bf4c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface/src/app/map/map.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ import { InvalidLinkDialogComponent } from './invalid-link-dialog/invalid-link-d
ReactiveFormsModule,
FeaturesModule,
],
exports: [MapComponent, MapConfigSummaryComponent],
exports: [MapComponent],
})
export class MapModule {}
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ export class TreatmentMapComponent {
if (event.originalEvent.button === 2) {
return;
}
if (this.mapDragging) {
return;
}
this.isDragging = true;

this.start = event;
this.mapLibreMap.getCanvas().style.cursor = 'crosshair';
}
Expand Down

0 comments on commit 37bf4c7

Please sign in to comment.