FIX(CSVRender::Object): Clamp scale edits in render window too

pull/3236/head
Dave Corley 4 months ago
parent 50465a3cf2
commit daf82d40b9

@ -713,7 +713,7 @@ void CSVRender::Object::setScale(float scale)
{ {
mOverrideFlags |= Override_Scale; mOverrideFlags |= Override_Scale;
mScaleOverride = scale; mScaleOverride = std::clamp(scale, 0.5f, 2.0f);
adjustTransform(); adjustTransform();
} }

Loading…
Cancel
Save