diptocolortransition: ensure base params are retranslated too

This commit is contained in:
itsmattkc
2022-10-24 10:05:49 -07:00
parent f4011db5b4
commit 3ae7f0ff7e
@@ -24,6 +24,8 @@ namespace olive {
const QString DipToColorTransition::kColorInput = QStringLiteral("color_in");
#define super TransitionBlock
DipToColorTransition::DipToColorTransition()
{
AddInput(kColorInput, NodeValue::kColor, QVariant::fromValue(Color(0, 0, 0)));
@@ -58,6 +60,8 @@ ShaderCode DipToColorTransition::GetShaderCode(const ShaderRequest &request) con
void DipToColorTransition::Retranslate()
{
super::Retranslate();
SetInputName(kColorInput, tr("Color"));
}