From d75ff762c8eded3ef5119074187940355e79af2d Mon Sep 17 00:00:00 2001 From: Silvester Date: Wed, 12 Dec 2018 10:47:40 +0100 Subject: [PATCH 1/2] Fixed overlay flickering while dragging handle When dragging the handle, the .twentytwenty-overlay previously faded in and out as soon as the mouse left the handle div. Now, the hover class is applied to the .twentytwenty-container directly and gets overwritten at the startSlide() event. Also, v-on:touchstart="startSlide" and v-on:mousedown="startSlide" were moved from the .twentytwenty-overlay to the .twentytwenty-handle to create a user experience more consistent with the original http://zurb.com/playground/twentytwenty. --- src/TwentyTwenty.vue | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/TwentyTwenty.vue b/src/TwentyTwenty.vue index 2a9c38d..4a3109b 100644 --- a/src/TwentyTwenty.vue +++ b/src/TwentyTwenty.vue @@ -1,20 +1,21 @@