mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Implemented Scrollable class, to server as common base for such classes
This commit is contained in:
@@ -72,7 +72,7 @@ void OptionsTab::recreate()
|
||||
|
||||
if(sliderTurnDuration)
|
||||
{
|
||||
sliderTurnDuration->moveTo(vstd::find_pos(GameConstants::POSSIBLE_TURNTIME, SEL->getStartInfo()->turnTime));
|
||||
sliderTurnDuration->scrollTo(vstd::find_pos(GameConstants::POSSIBLE_TURNTIME, SEL->getStartInfo()->turnTime));
|
||||
labelTurnDurationValue->setText(CGI->generaltexth->turnDurations[sliderTurnDuration->getValue()]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user