Revert reflection for now.
This commit is contained in:
parent
9d6069b3fe
commit
88c0c08fb0
@ -18,7 +18,6 @@ bevy_input_focus = { path = "../bevy_input_focus", version = "0.17.0-dev" }
|
||||
bevy_log = { path = "../bevy_log", version = "0.17.0-dev" }
|
||||
bevy_math = { path = "../bevy_math", version = "0.17.0-dev" }
|
||||
bevy_picking = { path = "../bevy_picking", version = "0.17.0-dev" }
|
||||
bevy_reflect = { path = "../bevy_reflect", version = "0.17.0-dev" }
|
||||
bevy_ui = { path = "../bevy_ui", version = "0.17.0-dev", features = [
|
||||
"bevy_ui_picking_backend",
|
||||
] }
|
||||
|
@ -21,7 +21,6 @@ use bevy_input_focus::FocusedInput;
|
||||
use bevy_log::warn_once;
|
||||
use bevy_math::ops;
|
||||
use bevy_picking::events::{Drag, DragEnd, DragStart, Pointer, Press};
|
||||
use bevy_reflect::Reflect;
|
||||
use bevy_ui::{ComputedNode, ComputedNodeTarget, InteractionDisabled, UiGlobalTransform, UiScale};
|
||||
|
||||
use crate::{Callback, Notify};
|
||||
@ -180,7 +179,7 @@ impl Default for SliderRange {
|
||||
|
||||
/// Defines the amount by which to increment or decrement the slider value when using keyboard
|
||||
/// shortcuts. Defaults to 1.0.
|
||||
#[derive(Component, Debug, PartialEq, Clone, Reflect)]
|
||||
#[derive(Component, Debug, PartialEq, Clone)]
|
||||
#[component(immutable)]
|
||||
pub struct SliderStep(pub f32);
|
||||
|
||||
@ -199,7 +198,7 @@ impl Default for SliderStep {
|
||||
/// The value in this component represents the number of decimal places of desired precision, so a
|
||||
/// value of 2 would round to the nearest 1/100th. A value of -3 would round to the nearest
|
||||
/// thousand.
|
||||
#[derive(Component, Debug, Default, Clone, Copy, Reflect)]
|
||||
#[derive(Component, Debug, Default, Clone, Copy)]
|
||||
pub struct SliderPrecision(pub i32);
|
||||
|
||||
impl SliderPrecision {
|
||||
|
Loading…
Reference in New Issue
Block a user