diff --git a/examples/demo/Cargo.toml b/examples/demo/Cargo.toml index 8096375..163f2b3 100644 --- a/examples/demo/Cargo.toml +++ b/examples/demo/Cargo.toml @@ -11,4 +11,4 @@ publish = false bevy_vello = { path = "../../", features = ["experimental-dotLottie"] } bevy = { workspace = true } bevy_pancam = { version = "0.11", features = ["bevy_egui"] } -bevy_egui = "0.25" +bevy_egui = "0.28.0" diff --git a/examples/demo/src/main.rs b/examples/demo/src/main.rs index b4bdc88..dd863ec 100644 --- a/examples/demo/src/main.rs +++ b/examples/demo/src/main.rs @@ -17,7 +17,7 @@ fn main() { .add_plugins(EguiPlugin) .add_plugins(VelloPlugin) .init_resource::() - .add_plugins(bevy_pancam::PanCamPlugin) + //.add_plugins(bevy_pancam::PanCamPlugin) .add_systems(Startup, setup_vector_graphics) .add_systems(Update, (print_metadata, ui::controls_ui)); embedded_asset!(app, "assets/calendar.json"); @@ -25,7 +25,8 @@ fn main() { } fn setup_vector_graphics(mut commands: Commands, asset_server: ResMut) { - commands.spawn((Camera2dBundle::default(), bevy_pancam::PanCam::default())); + commands.spawn(Camera2dBundle::default()); + //commands.spawn((Camera2dBundle::default(), bevy_pancam::PanCam::default())); commands .spawn(VelloAssetBundle { vector: asset_server.load::("embedded://demo/assets/calendar.json"), @@ -42,7 +43,7 @@ fn setup_vector_graphics(mut commands: Commands, asset_server: ResMut