Update to bevy 0.14
This commit is contained in:
parent
7f34a72304
commit
6d6f9c907e
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue