@@ -68,8 +68,6 @@ public:
virtual bool GetIntrinsicDimensions(Rocket::Core::Vector2f& dimensions);
private:
- int size;
-
WidgetSliderInput* widget;
};
@@ -47,6 +47,7 @@ WidgetSlider::WidgetSlider(ElementFormControl* _parent)
arrows[1] = NULL;
bar_position = 0;
+ bar_drag_anchor = 0;
arrow_timers[0] = -1;
arrow_timers[1] = -1;