Skip to content

Commit 0cec7a2

Browse files
committed
Fixed the issue of unable to select .anm files
Corrected the file filter pattern for selecting animation files in the NavBar from '*.;*.anm.json' to '*.anm;*.anm.json' to ensure proper file matching.
1 parent 077eac4 commit 0cec7a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/components/AnmEditorPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const AnmEditorPage: React.FC = () => {
2626
return (
2727
<Layout style={{height: "100vh"}}>
2828
<NavBar
29-
onSelectFile={() => handleSelectFile("*.;*.anm.json", t('Infos.com3d2_anm_file'))}
29+
onSelectFile={() => handleSelectFile("*.anm;*.anm.json", t('Infos.com3d2_anm_file'))}
3030
onSaveFile={() => handleSaveFile(anmEditorRef)}
3131
onSaveAsFile={() => handleSaveAsFile(anmEditorRef)}
3232
/>

0 commit comments

Comments
 (0)