mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-11-23 23:21:02 +01:00
perf: ♻️ Search prompts
This commit is contained in:
parent
2f2e1cfcd6
commit
0d963aab65
@ -4,7 +4,7 @@
|
||||
class=""
|
||||
circle
|
||||
size="small"
|
||||
:title="`${$t('common.search')}(Command/Ctrl + F)`"
|
||||
:title="`${$t('common.search')}(${shortcutTip})`"
|
||||
@click="openSearchModal"
|
||||
>
|
||||
<el-icon size="12">
|
||||
@ -21,6 +21,10 @@ const themeStore = useThemeStore()
|
||||
|
||||
const activeTab = inject('activeTab')
|
||||
|
||||
const shortcutTip = `${
|
||||
window.electron.process.platform === 'darwin' ? 'Command' : 'Ctrl'
|
||||
} + F`
|
||||
|
||||
watch([() => themeStore.value, () => activeTab.value], () => {
|
||||
closeSearchModal()
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user