- slide: formatting code

This commit is contained in:
vanhofen
2022-11-23 23:54:02 +01:00
committed by Thilo Graf
parent eb1ef27dc5
commit 01bf9bb996
2 changed files with 12 additions and 13 deletions

View File

@@ -143,7 +143,7 @@ bool COSDSlider::SlideDone()
{
bool ret = false;
if (slideOut) // disappear
if (slideOut) // disappear
{
slideValue += STEPSIZE;
@@ -156,7 +156,7 @@ bool COSDSlider::SlideDone()
else
setValue(slideValue);
}
else // appears
else // appear
{
slideValue -= STEPSIZE;
@@ -171,8 +171,5 @@ bool COSDSlider::SlideDone()
setValue(slideValue);
}
return ret;
}