mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-19 07:32:05 +00:00
fix: #252 scroll position resetting in animeview
This commit is contained in:
parent
a697e88c18
commit
f4698875aa
1 changed files with 0 additions and 4 deletions
|
|
@ -1,5 +1,4 @@
|
|||
<script>
|
||||
import { getContext } from 'svelte'
|
||||
import { traceAnime } from '@/modules/anime.js'
|
||||
|
||||
export let search
|
||||
|
|
@ -9,9 +8,6 @@
|
|||
let searchTimeout = null
|
||||
let searchTextInput
|
||||
|
||||
const view = getContext('view')
|
||||
|
||||
$: !$view && searchTextInput?.focus()
|
||||
function searchClear () {
|
||||
search = {
|
||||
format: '',
|
||||
|
|
|
|||
Loading…
Reference in a new issue