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 <[email protected]>
This commit is contained in:
Francisco Neves
2025-04-06 14:30:35 +02:00
committed by Kacper Donat
parent e537278f12
commit ceee26765e
@@ -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)