mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
fix misleading indentation of YACReaderFlowGL::setCurrentIndex
This commit is contained in:
@ -650,22 +650,21 @@ void YACReaderFlowGL::setCurrentIndex(int pos)
|
||||
if(pos >= images.length() && images.length() > 0)
|
||||
pos = images.length()-1;
|
||||
|
||||
startAnimationTimer();
|
||||
startAnimationTimer();
|
||||
|
||||
currentSelected = pos;
|
||||
currentSelected = pos;
|
||||
|
||||
config.animationStep *= config.animationSpeedUp;
|
||||
config.animationStep *= config.animationSpeedUp;
|
||||
|
||||
if(config.animationStep > config.animationStepMax){
|
||||
config.animationStep = config.animationStepMax;
|
||||
}
|
||||
if(config.animationStep > config.animationStepMax){
|
||||
config.animationStep = config.animationStepMax;
|
||||
}
|
||||
|
||||
if(viewRotateActive && viewRotate < 1){
|
||||
viewRotate += config.viewRotateAdd;
|
||||
}
|
||||
|
||||
viewRotateActive = 1;
|
||||
if(viewRotateActive && viewRotate < 1){
|
||||
viewRotate += config.viewRotateAdd;
|
||||
}
|
||||
|
||||
viewRotateActive = 1;
|
||||
}
|
||||
|
||||
void YACReaderFlowGL::updatePositions()
|
||||
|
Reference in New Issue
Block a user