Skip to content

Commit

Permalink
fix animation_format in not applied; fix outdated readme (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
cksit committed Apr 18, 2024
1 parent c218a31 commit 0446260
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ homeserver_url = "https://matrix-client.matrix.org"
access_token = "YOUR-MATIRX-ACESSTOKEN"

[sticker]
transparent_color = { r = 0, g = 0, b = 0, alpha = true }
transparent_color = { r = 0, g = 0, b = 0, a = true }
animation_format = "webp"
```
The `[sticker]` section is optional and can be left out.
Expand Down
1 change: 1 addition & 0 deletions mstickereditor/src/sub_commands/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ pub async fn run(mut opt: Opt) -> anyhow::Result<()> {
import_config.dry_run = opt.dryrun;
import_config.keep_webm = opt.keep_webm;
import_config.keep_lottie = opt.keep_lottie;
import_config.animation_format = config.sticker;
let import_config = import_config;
let mut empty_packs = Vec::new();

Expand Down

0 comments on commit 0446260

Please sign in to comment.