Frontend: Add zoom-in button to photos view
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
ef313ca738
commit
c97b1098c6
2 changed files with 10 additions and 0 deletions
|
@ -102,6 +102,11 @@
|
|||
@click.stop.prevent="openPhoto(index, true)">
|
||||
<v-icon color="white" class="action-burst">burst_mode</v-icon>
|
||||
</v-btn>
|
||||
<v-btn v-else-if="photo.Type === 'image' && selection.length && hover" :ripple="false"
|
||||
icon flat large absolute class="p-photo-merged opacity-75"
|
||||
@click.stop.prevent="openPhoto(index, false)">
|
||||
<v-icon color="white" class="action-open">zoom_in</v-icon>
|
||||
</v-btn>
|
||||
<v-btn v-else-if="photo.Type === 'raw'" :ripple="false"
|
||||
icon flat large absolute class="p-photo-merged opacity-75"
|
||||
@click.stop.prevent="openPhoto(index, true)" title="RAW">
|
||||
|
|
|
@ -101,6 +101,11 @@
|
|||
@click.stop.prevent="openPhoto(index, true)">
|
||||
<v-icon color="white" class="action-burst">burst_mode</v-icon>
|
||||
</v-btn>
|
||||
<v-btn v-else-if="photo.Type === 'image' && selection.length && hover" :ripple="false"
|
||||
icon flat small absolute class="p-photo-merged opacity-75"
|
||||
@click.stop.prevent="openPhoto(index, false)">
|
||||
<v-icon color="white" class="action-open">zoom_in</v-icon>
|
||||
</v-btn>
|
||||
<v-btn v-else-if="photo.Type === 'raw'" :ripple="false"
|
||||
icon flat small absolute class="p-photo-merged opacity-75"
|
||||
@click.stop.prevent="openPhoto(index, true)" title="RAW">
|
||||
|
|
Loading…
Reference in a new issue