Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Commit

Permalink
Revert change to handle positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Hayes committed Dec 12, 2018
1 parent d75ff76 commit 4ea04cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/TwentyTwenty.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<template>
<div class="twentytwenty-container"
v-bind:style="containerStyle">
v-bind:style="containerStyle"
v-on:touchstart="startSlide"
v-on:mousedown="startSlide">
<img :src="after" alt="after"
v-on:mousedown.prevent
v-on:load="setDimensions" />
Expand All @@ -13,9 +15,7 @@
<div v-if="afterLabel" class="twentytwenty-after-label">{{afterLabel}}</div>
</div>
<div class="twentytwenty-handle"
v-bind:style="handleStyle"
v-on:touchstart="startSlide"
v-on:mousedown="startSlide">
v-bind:style="handleStyle">
<div class="twentytwenty-arrow-left"></div>
<div class="twentytwenty-arrow-right"></div>
</div>
Expand Down

0 comments on commit 4ea04cc

Please sign in to comment.