set back focus
This commit is contained in:
parent
bbcabc8e71
commit
e73d86255b
@ -181,7 +181,7 @@
|
||||
<script setup>
|
||||
import { ref, computed, onMounted, onUnmounted, watch, nextTick } from 'vue'
|
||||
import axios from "axios";
|
||||
const currentFocus = ref()
|
||||
const currentFocus = ref(0)
|
||||
function focusNext(length) {
|
||||
if (currentFocus.value === undefined) {
|
||||
currentFocus.value = 0
|
||||
@ -338,6 +338,9 @@ watch(showCommandPalette, async (value) => {
|
||||
searchInput.value.focus();
|
||||
}
|
||||
})
|
||||
watch(search, async () => {
|
||||
currentFocus.value = 0
|
||||
})
|
||||
const magic = computed(() => {
|
||||
if (search.value) {
|
||||
return sequenceState.value.magicActions.filter(action => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user