From 0be1705a0d6cb291ee953a8b2f101aeb47f6f22d Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 6 Aug 2018 14:27:32 -0400 Subject: [PATCH] Disable note and streetview interactivity except in browse/select modes (closes #5202) --- css/60_photos.css | 4 ++++ css/65_data.css | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/css/60_photos.css b/css/60_photos.css index cc853900c..dece57cca 100644 --- a/css/60_photos.css +++ b/css/60_photos.css @@ -88,6 +88,10 @@ /* markers and sequences */ .viewfield-group { + pointer-events: none; +} +.mode-browse .viewfield-group, +.mode-select .viewfield-group { pointer-events: visible; cursor: pointer; } diff --git a/css/65_data.css b/css/65_data.css index 962311fee..7fca3c9e8 100644 --- a/css/65_data.css +++ b/css/65_data.css @@ -6,7 +6,8 @@ .layer-notes .note * { pointer-events: none; } -.layer-notes .note .note-fill { +.mode-browse .layer-notes .note .note-fill, +.mode-select .layer-notes .note .note-fill { pointer-events: visible; cursor: pointer; /* Opera */ cursor: url(img/cursor-select-point.png), pointer; /* FF */