34 lines
607 B
Vue
34 lines
607 B
Vue
<script setup lang="ts">
|
|
const displayOptions = ref(false);
|
|
</script>
|
|
|
|
<template>
|
|
<div :class="`card_overlay`" ref="card">
|
|
<img
|
|
class="settings_button"
|
|
src="/img/settings.png"
|
|
alt="settings"
|
|
@click="displayOptions = true"
|
|
/>
|
|
</div>
|
|
<OptionsDialog :isVisible="displayOptions" @close="displayOptions = false" />
|
|
</template>
|
|
|
|
<style scoped>
|
|
.card_overlay {
|
|
/* display: none; */
|
|
position: fixed;
|
|
z-index: 999;
|
|
display: flex;
|
|
pointer-events: none;
|
|
/* top: left: */
|
|
top: 0;
|
|
}
|
|
|
|
.settings_button {
|
|
pointer-events: all;
|
|
width: 30px;
|
|
padding: 5px;
|
|
}
|
|
</style>
|