From 0c9c493c4992962cdb2ac7769e4f198a81ccd1b3 Mon Sep 17 00:00:00 2001 From: Alice Rottersman Date: Mon, 25 Sep 2017 15:19:35 -0400 Subject: [PATCH 01/34] Fix Disabling Draw Tool If Zoom < Layer MinZoom * At some point the draw tool option buttons must have switched to ``s, which don't have the "disabled" attribute, which we were still trying to use * Make the draw tools proper buttons again, and re-render them on map zoom to keep the disabled state synced with the map --- src/mmw/js/src/draw/templates/drawTool.html | 16 +++++++++++----- src/mmw/js/src/draw/views.js | 2 ++ src/mmw/sass/pages/_draw.scss | 10 ++++++++-- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/src/mmw/js/src/draw/templates/drawTool.html b/src/mmw/js/src/draw/templates/drawTool.html index 12101fd92..2c1d5205f 100644 --- a/src/mmw/js/src/draw/templates/drawTool.html +++ b/src/mmw/js/src/draw/templates/drawTool.html @@ -13,6 +13,17 @@