mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
fix typo in gamepad AxisSettings docs (#8536)
# Objective there was a typo in AxisSettings. It said "Values that are higher than `livezone_upperbound` will be rounded up to -1.0." which I'm pretty confident should be "1.0". ## Solution I removed the '-'
This commit is contained in:
parent
1a43ce15ed
commit
22121e69fb
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ impl ButtonSettings {
|
|||
#[derive(Debug, Clone, Reflect, FromReflect, PartialEq)]
|
||||
#[reflect(Debug, Default)]
|
||||
pub struct AxisSettings {
|
||||
/// Values that are higher than `livezone_upperbound` will be rounded up to -1.0.
|
||||
/// Values that are higher than `livezone_upperbound` will be rounded up to 1.0.
|
||||
livezone_upperbound: f32,
|
||||
/// Positive values that are less than `deadzone_upperbound` will be rounded down to 0.0.
|
||||
deadzone_upperbound: f32,
|
||||
|
|
Loading…
Reference in a new issue