Explorar o código

sett scroll bound

Laserlicht hai 1 mes
pai
achega
1d09700f6d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/widgets/markets/CMarketBase.cpp

+ 1 - 1
client/widgets/markets/CMarketBase.cpp

@@ -211,7 +211,7 @@ CMarketSlider::CMarketSlider(const CSlider::SliderMovingFunctor & movingCallback
 	OBJECT_CONSTRUCTION;
 
 	offerSlider = std::make_shared<CSlider>(Point(230, 489), 137, movingCallback, 0, 0, 0, Orientation::HORIZONTAL);
-	offerSlider->setScrollBounds(Rect());
+	offerSlider->setScrollBounds(Rect(-215, -50, 575, 120));
 	maxAmount = std::make_shared<CButton>(Point(228, 520), AnimationPath::builtin("IRCBTNS.DEF"), LIBRARY->generaltexth->zelp[596],
 		[this]()
 		{