Archived
2
0

switch overlay to textarea to correctly interpret dead keys.

This commit is contained in:
Miroslav Šedivý 2022-09-26 18:59:42 +02:00
parent 9f26b27d5d
commit fd17a282fa

View File

@ -8,7 +8,7 @@
<neko-emote :id="index" :key="index" /> <neko-emote :id="index" :key="index" />
</template> </template>
</div> </div>
<div <textarea
ref="overlay" ref="overlay"
class="overlay" class="overlay"
tabindex="0" tabindex="0"
@ -173,6 +173,11 @@
bottom: 0; bottom: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
cursor: default;
outline: 0;
border: 0;
color: transparent;
background: transparent;
} }
.player-aspect { .player-aspect {
@ -209,7 +214,7 @@
export default class extends Vue { export default class extends Vue {
@Ref('component') readonly _component!: HTMLElement @Ref('component') readonly _component!: HTMLElement
@Ref('container') readonly _container!: HTMLElement @Ref('container') readonly _container!: HTMLElement
@Ref('overlay') readonly _overlay!: HTMLElement @Ref('overlay') readonly _overlay!: HTMLTextAreaElement
@Ref('aspect') readonly _aspect!: HTMLElement @Ref('aspect') readonly _aspect!: HTMLElement
@Ref('player') readonly _player!: HTMLElement @Ref('player') readonly _player!: HTMLElement
@Ref('video') readonly _video!: HTMLVideoElement @Ref('video') readonly _video!: HTMLVideoElement