Skip to content

Commit

Permalink
chore: 🤖 fix demo player
Browse files Browse the repository at this point in the history
  • Loading branch information
theashraf committed Jan 11, 2024
1 parent 386a6e9 commit 2b05451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo-player/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::{
time::{Duration, Instant},
};

use dotlottie_player::DotLottiePlayer;
use dotlottie_player_core::DotLottiePlayer;
use minifb::{Key, Window, WindowOptions};

pub const WIDTH: usize = 1200;
Expand Down
2 changes: 1 addition & 1 deletion dotlottie-rs/src/dotlottie_player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl DotLottiePlayer {
}

pub fn frame(&self, no: f32) {
self.canvas.clear(true);
// self.canvas.clear(true);

self.animation.set_frame(no);

Expand Down

0 comments on commit 2b05451

Please sign in to comment.