From fdcaa864af87861b0813d3ad0f5857ebef150182 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 10 Feb 2019 13:03:24 -0800 Subject: [PATCH] fix: allow right-click to save image (#962) fixes #961 --- .../dialog/components/MediaDialog.html | 4 +-- .../dialog/components/PinchZoomable.html | 31 +------------------ 2 files changed, 3 insertions(+), 32 deletions(-) diff --git a/src/routes/_components/dialog/components/MediaDialog.html b/src/routes/_components/dialog/components/MediaDialog.html index fadae0da..1ca7524d 100644 --- a/src/routes/_components/dialog/components/MediaDialog.html +++ b/src/routes/_components/dialog/components/MediaDialog.html @@ -11,8 +11,8 @@
  • - {#if canPinchZoom} - + {#if canPinchZoom && pinchZoomMode} + {:else} diff --git a/src/routes/_components/dialog/components/PinchZoomable.html b/src/routes/_components/dialog/components/PinchZoomable.html index 3f38a671..1c5b7dec 100644 --- a/src/routes/_components/dialog/components/PinchZoomable.html +++ b/src/routes/_components/dialog/components/PinchZoomable.html @@ -1,4 +1,4 @@ -
    +
    @@ -8,7 +8,6 @@ label="Zoom out" href="#fa-search-minus" on:click="zoomOut()" - ariaHidden={disabled} />