mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-08 17:35:18 +00:00
don't run conversion on auto-furi syntax
This commit is contained in:
1 parent
54f3b699a9
commit
8242ace3fe
2 files changed
+8
-2
No files matched your search
+3
-1
@@ -1,17 +1,19 @@
|
||||
{
|
||||
"name": "cjdic2",
|
||||
"private": true,
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev:desktop": "cross-env RUST_BACKTRACE=1 tauri dev",
|
||||
"dev:mobile": "cross-env RUST_BACKTRACE=1 tauri dev -c src-tauri/tauri.mobile.conf.json",
|
||||
"dev:android": "cross-env RUST_BACKTRACE=1 tauri android dev",
|
||||
"log:android": "adb logcat -e \"RustStdoutStderr\"",
|
||||
"build:desktop": "tauri build",
|
||||
"build:android": "tauri android build",
|
||||
"install:android": "adb install -r src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release.apk",
|
||||
"build:android:debug": "tauri android build --debug",
|
||||
"install:android:debug": "adb install -r src-tauri/gen/android/app/build/outputs/apk/universal/debug/app-universal-debug.apk",
|
||||
"run:desktop": ".\\target\\release\\cjdic2.exe",
|
||||
"dev": "cd src-react && pnpm run dev",
|
||||
"build": "cd src-react && pnpm run build",
|
||||
"tauri": "tauri"
|
||||
|
||||
@@ -178,7 +178,11 @@ function SearchPage() {
|
||||
|
||||
function onSearchboxChange(q: string) {
|
||||
if (isAutoKana) {
|
||||
q = toKana(q, { useObsoleteKana: true, IMEMode: true });
|
||||
q = toKana(
|
||||
q,
|
||||
{ useObsoleteKana: true, IMEMode: true },
|
||||
Object.fromEntries("<>[]".split("").map((c) => [c, c])),
|
||||
);
|
||||
}
|
||||
|
||||
setQ(q);
|
||||
|
||||
Reference in new issue
Block a user