mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-04-26 19:35:35 +00:00
fix gif saving mroe
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -149,7 +149,7 @@ export interface favandfreq {
|
||||
favoriteGifs: {
|
||||
gifs: {
|
||||
[key: string]: {
|
||||
format: 1;
|
||||
format: "GIF_TYPE_IMAGE";
|
||||
src: string;
|
||||
width: number;
|
||||
height: number;
|
||||
|
||||
Reference in New Issue
Block a user