mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-09 20:12:10 +10:00
feat: minimum support for unrefed object cleanup
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
class="absolute inset-0 transition-all duration-300 group-hover:scale-110"
|
||||
>
|
||||
<img
|
||||
:src="useObject(game.mCoverId)"
|
||||
:src="useObject(game.mCoverObjectId)"
|
||||
class="w-full h-full object-cover brightness-[90%]"
|
||||
:class="{ active: active === game.id }"
|
||||
:alt="game.mName"
|
||||
@ -42,7 +42,7 @@ const props = defineProps<{
|
||||
game:
|
||||
| SerializeObject<{
|
||||
id: string;
|
||||
mCoverId: string;
|
||||
mCoverObjectId: string;
|
||||
mName: string;
|
||||
mShortDescription: string;
|
||||
}>
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
class="flex flex-row items-center w-full p-1 rounded-md transition-all duration-200 hover:bg-zinc-800 hover:scale-105 hover:shadow-lg active:scale-95"
|
||||
>
|
||||
<img
|
||||
:src="useObject(game.mCoverId)"
|
||||
:src="useObject(game.mCoverObjectId)"
|
||||
class="h-9 w-9 flex-shrink-0 rounded transition-all duration-300 group-hover:scale-105 hover:rotate-[-2deg] hover:shadow-lg"
|
||||
alt=""
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user