removed isvisible check

This commit is contained in:
booploops 2022-04-11 13:32:19 -07:00
parent 07b4d3b8ff
commit 74c42ede84
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
<div class="mediaitem-artwork" @contextmenu="contextMenu" :class="[{'rounded': (type == 'artists')}, classes]" :key="url"> <div class="mediaitem-artwork" @contextmenu="contextMenu" :class="[{'rounded': (type == 'artists')}, classes]" :key="url">
<img :src="app.getMediaItemArtwork(url, size, width)" <img :src="app.getMediaItemArtwork(url, size, width)"
decoding="async" decoding="async"
loading="lazy"
:style="{background: bgcolor}" :style="{background: bgcolor}"
class="mediaitem-artwork--img"> class="mediaitem-artwork--img">
<div v-if="video && getVideoPriority()" class="animatedartwork-view-box"> <div v-if="video && getVideoPriority()" class="animatedartwork-view-box">

View file

@ -5,7 +5,7 @@
@contextmenu.self="contextMenu" @contextmenu.self="contextMenu"
v-observe-visibility="{callback: visibilityChanged}" v-observe-visibility="{callback: visibilityChanged}"
> >
<div v-if="reasonShown && isVisible" class="reasonSP ">{{item?.meta?.reason?.stringForDisplay ?? ' '}}</div> <div v-if="reasonShown" class="reasonSP ">{{item?.meta?.reason?.stringForDisplay ?? ''}}</div>
<div style="{'--spcolor': getBgColor()}" <div style="{'--spcolor': getBgColor()}"
class="cd-mediaitem-square" :class="getClasses()" @contextmenu="contextMenu"> class="cd-mediaitem-square" :class="getClasses()" @contextmenu="contextMenu">
<template> <template>