fix gif saving mroe

This commit is contained in:
MathMan05
2025-11-26 18:43:22 -06:00
parent 4e4f14d1b4
commit d5111017a3
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -431,7 +431,9 @@ export class Favorites {
) {
this.gifs[name] = {
...gif,
format: 1,
width: Math.round(gif.width),
height: Math.round(gif.height),
format: "GIF_TYPE_IMAGE",
order: Object.keys(this.gifs).length + 1,
};
await this.save(saveImportance.high);
+1 -1
View File
@@ -149,7 +149,7 @@ export interface favandfreq {
favoriteGifs: {
gifs: {
[key: string]: {
format: 1;
format: "GIF_TYPE_IMAGE";
src: string;
width: number;
height: number;