adjust copy ctor for SliderWidget -- copying the isMoving state makes *no sense*; Value should be copied though

This commit is contained in:
Chris Forbes
2011-07-17 16:08:48 +12:00
parent 0efe82018a
commit a52e5a92ae

View File

@@ -34,8 +34,8 @@ namespace OpenRA.Widgets
OnChange = other.OnChange;
Ticks = other.Ticks;
Range = other.Range;
Value = other.Value;
TrackHeight = other.TrackHeight;
isMoving = other.isMoving;
}
void UpdateValue(float newValue)