Skip to content

Commit

Permalink
refactor: rename demo to lottie_player
Browse files Browse the repository at this point in the history
  • Loading branch information
simbleau committed Feb 10, 2025
1 parent cb0d365 commit 64ad724
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 13 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
resolver = "2"
members = [
"examples/run_wasm",
"examples/demo",
"examples/lottie_player",
"examples/drag_n_drop",
"examples/text",
"examples/scene",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "demo"
name = "lottie_player"
version.workspace = true
license.workspace = true
edition.workspace = true
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ fn setup_vector_graphics(mut commands: Commands, asset_server: ResMut<AssetServe
commands.spawn((Camera2d, bevy_pancam::PanCam::default(), VelloView));
commands
.spawn(VelloLottieBundle {
asset: VelloLottieHandle(asset_server.load("embedded://demo/assets/calendar.json")),
asset: VelloLottieHandle(
asset_server.load("embedded://lottie_player/assets/calendar.json"),
),
transform: Transform::from_translation(Vec3::new(0.0, 0.0, 0.0))
.with_scale(Vec3::splat(20.0)),
debug_visualizations: DebugVisualizations::Visible,
Expand Down
File renamed without changes.

0 comments on commit 64ad724

Please sign in to comment.