Cosmetics
This commit is contained in:
@@ -308,7 +308,8 @@ void LogicalSwitchesPanel::setSwitchWidgetVisibility(int i)
|
|||||||
/*TODO: is this delta function value set correctly*/
|
/*TODO: is this delta function value set correctly*/
|
||||||
maxTime = round(range.step*127);
|
maxTime = round(range.step*127);
|
||||||
value = round(range.step*model.customSw[i].val2);
|
value = round(range.step*model.customSw[i].val2);
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
maxTime = round(range.max);
|
maxTime = round(range.max);
|
||||||
value = round(range.step*(model.customSw[i].val2/* TODO+source.getRawOffset(model)*/)+range.offset);
|
value = round(range.step*(model.customSw[i].val2/* TODO+source.getRawOffset(model)*/)+range.offset);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user