From 6d6f9c907e412953f694aa3a22949abd8759897c Mon Sep 17 00:00:00 2001 From: BeastLe9enD Date: Thu, 11 Jul 2024 17:18:03 +0200 Subject: [PATCH] Update to bevy 0.14 --- Cargo.toml | 6 +++--- examples/simple.rs | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 28fce5f..363a02c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_simple_scroll_view" -version = "0.1.0" +version = "0.2.0" edition = "2021" exclude = [".github/","wasm/", "record.gif"] categories = ["game-development", "gui"] @@ -11,10 +11,10 @@ license = "MIT OR Apache-2.0" description = "Simple to use plugin implementing ScrollView into Bevy engine." [dependencies.bevy] -version = "0.13" +version = "0.14" default-features = false features = ["bevy_ui", "bevy_asset", "bevy_text"] [dev-dependencies.bevy] -version = "0.13" +version = "0.14" default-features = true diff --git a/examples/simple.rs b/examples/simple.rs index 94cb8ea..8bc044f 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -1,10 +1,10 @@ use bevy::prelude::*; use bevy_simple_scroll_view::*; -const CLR_1: Color = Color::rgb(0.168, 0.168, 0.168); -const CLR_2: Color = Color::rgb(0.109, 0.109, 0.109); -const CLR_3: Color = Color::rgb(0.569, 0.592, 0.647); -const CLR_4: Color = Color::rgb(0.902, 0.4, 0.004); +const CLR_1: Color = Color::srgb(0.168, 0.168, 0.168); +const CLR_2: Color = Color::srgb(0.109, 0.109, 0.109); +const CLR_3: Color = Color::srgb(0.569, 0.592, 0.647); +const CLR_4: Color = Color::srgb(0.902, 0.4, 0.004); fn main() { App::new()