mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-06-01 23:58:30 -04:00
🎞 frames key with 3 zero padding
This commit is contained in:
parent
fbc05a43c8
commit
144a8652b0
1 changed files with 2 additions and 2 deletions
|
@ -9,6 +9,6 @@ export const frameNumber = (index: number, endIndex: number) => {
|
|||
};
|
||||
|
||||
export const getKeyName = (index: number, fileName: string) => {
|
||||
const frame = frameNumber(index, 2);
|
||||
const frame = frameNumber(index, 3);
|
||||
return `${path.basename(fileName, ".svg")}-${frame}.png`;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue