diff --git a/src/rendering/screenspacerenderable.cpp b/src/rendering/screenspacerenderable.cpp index 9265964480..8f39aad7f0 100644 --- a/src/rendering/screenspacerenderable.cpp +++ b/src/rendering/screenspacerenderable.cpp @@ -204,7 +204,7 @@ namespace { std::optional radiusAzimuthElevation; // [[codegen::verbatim(BorderWidthInfo.description)]] - std::optional borderWidth; + std::optional borderWidth [[codegen::greater(0.0)]]; // [[codegen::verbatim(BorderColorInfo.description)]] std::optional borderColor [[codegen::color()]];