mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
fix misleading indentation of YACReaderFlowGL::setCurrentIndex
This commit is contained in:
parent
472e9f9832
commit
f87e113f89
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user