mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-28 22:16:01 -04:00
🔥 Frame padding
This commit is contained in:
parent
f0ca4c5689
commit
70e770af72
1 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,6 @@ export const frameNumber = (index: number, endIndex: number) => {
|
|||
};
|
||||
|
||||
export const getKeyName = (index: number, fileName: string) => {
|
||||
const frame = frameNumber(index, frames.toString().length);
|
||||
const frame = frameNumber(index, 2);
|
||||
return `${path.basename(fileName, ".svg")}-${frame}.png`;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue