Preferences: Fixed a bug in 'Animation curve type' label position

Deleted a line in DlgSettingsAdvanced.cpp that made the label
move after selecting a animation curve type. Fixes #18376.

Signed-off-by: Francisco Neves <francisco.jose.neves@tecnico.ulisboa.pt>
This commit is contained in:
Francisco Neves
2025-03-28 19:32:02 +00:00
committed by Kacper Donat
parent 51d72ea11b
commit 21723a045e

View File

@@ -554,7 +554,6 @@ void DlgSettingsAdvanced::setOffset1(qreal t)
QPoint pos(width(), 0);
this->b1 = width() - label->fontMetrics().boundingRect(label->text()).width() - 5;
}
label->move(this->a1 * (1-t) + this->b1 * t, label->y());
}
void DlgSettingsAdvanced::onCurveChange(int index)