fix prettier

This commit is contained in:
mike-000
2020-06-18 15:42:48 +01:00
committed by GitHub
parent 64167a5d7e
commit 342b69fe92

View File

@@ -292,10 +292,7 @@ class Extent extends PointerInteraction {
* @return {boolean} `false` to stop event propagation.
*/
handleEvent(mapBrowserEvent) {
if (
!mapBrowserEvent.originalEvent ||
!this.condition_(mapBrowserEvent))
{
if (!mapBrowserEvent.originalEvent || !this.condition_(mapBrowserEvent)) {
return true;
}
//display pointer (if not dragging)