diff --git a/apps/opencs/view/render/object.cpp b/apps/opencs/view/render/object.cpp index 4ad1aaca15..370c2ef59e 100644 --- a/apps/opencs/view/render/object.cpp +++ b/apps/opencs/view/render/object.cpp @@ -713,7 +713,7 @@ void CSVRender::Object::setScale(float scale) { mOverrideFlags |= Override_Scale; - mScaleOverride = scale; + mScaleOverride = std::clamp(scale, 0.5f, 2.0f); adjustTransform(); }