diff options
Diffstat (limited to 'src/net/cbaines/suma/BuildingNumOverlay.java')
-rw-r--r-- | src/net/cbaines/suma/BuildingNumOverlay.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/cbaines/suma/BuildingNumOverlay.java b/src/net/cbaines/suma/BuildingNumOverlay.java index c2a9d7c..f11a166 100644 --- a/src/net/cbaines/suma/BuildingNumOverlay.java +++ b/src/net/cbaines/suma/BuildingNumOverlay.java @@ -228,6 +228,9 @@ public class BuildingNumOverlay extends Overlay implements Preferences, OnShared } public boolean onDoubleTap(final MotionEvent event, final MapView mapView) { + if (!this.isEnabled()) + return false; + Building building = getSelectedItem(event, mapView); if (building == null) { |