Skip to content

Commit 3a7028e

Browse files
committed
release: v0.25.4
1 parent 83cc49b commit 3a7028e

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

src-tauri/tauri.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "NoteGen",
4-
"version": "0.25.3",
4+
"version": "0.25.4",
55
"identifier": "com.codexu.NoteGen",
66
"build": {
77
"beforeDevCommand": "pnpm dev",
@@ -45,7 +45,7 @@
4545
"icons/icon.ico"
4646
],
4747
"iOS": {
48-
"bundleVersion": "0.25.3",
48+
"bundleVersion": "0.25.4",
4949
"developmentTeam": "RGZC4ZTJMU"
5050
},
5151
"macOS": {

src/app/core/article/file/file-item.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,10 @@ export function FileItem({ item, focusSidebar }: { item: DirTree; focusSidebar?:
762762
onCompositionStart={handleCompositionStart}
763763
onCompositionEnd={handleCompositionEnd}
764764
onKeyDown={(e) => {
765+
// 阻止删除快捷键冒泡到全局快捷键处理器
766+
if (e.key === 'Backspace' || e.key === 'Delete') {
767+
e.stopPropagation()
768+
}
765769
if (e.code === 'Enter' && !e.nativeEvent.isComposing) {
766770
handleRename()
767771
} else if (e.code === 'Escape') {

src/app/core/article/file/folder-item/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,10 @@ export function FolderItem({ item, focusSidebar }: { item: DirTree; focusSidebar
755755
onCompositionStart={handleCompositionStart}
756756
onCompositionEnd={handleCompositionEnd}
757757
onKeyDown={(e) => {
758+
// 阻止删除快捷键冒泡到全局快捷键处理器
759+
if (e.key === 'Backspace' || e.key === 'Delete') {
760+
e.stopPropagation()
761+
}
758762
if (e.code === 'Enter' && !e.nativeEvent.isComposing) {
759763
handleRename()
760764
} else if (e.code === 'Escape') {

src/app/mobile/writing/custom-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function WritingHeader() {
4242
<FileActions />
4343
</div>
4444
<div className="flex-1">
45-
<FileManager />
45+
<FileManager focusSidebar={() => {}} />
4646
</div>
4747
</div>
4848
</DrawerContent>

0 commit comments

Comments
 (0)