adjust copy ctor for SliderWidget -- copying the isMoving state makes *no sense*; Value should be copied though
This commit is contained in:
@@ -34,8 +34,8 @@ namespace OpenRA.Widgets
|
|||||||
OnChange = other.OnChange;
|
OnChange = other.OnChange;
|
||||||
Ticks = other.Ticks;
|
Ticks = other.Ticks;
|
||||||
Range = other.Range;
|
Range = other.Range;
|
||||||
|
Value = other.Value;
|
||||||
TrackHeight = other.TrackHeight;
|
TrackHeight = other.TrackHeight;
|
||||||
isMoving = other.isMoving;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void UpdateValue(float newValue)
|
void UpdateValue(float newValue)
|
||||||
|
|||||||
Reference in New Issue
Block a user