diff --git a/r5dev/thirdparty/cppnet/cppkore/KoreTheme.cpp b/r5dev/thirdparty/cppnet/cppkore/KoreTheme.cpp index 596aee4b..6ba2f2e4 100644 --- a/r5dev/thirdparty/cppnet/cppkore/KoreTheme.cpp +++ b/r5dev/thirdparty/cppnet/cppkore/KoreTheme.cpp @@ -144,6 +144,10 @@ namespace Themes void KoreTheme::RenderControlProgressFill(const std::unique_ptr& EventArgs, Forms::Control* Ctrl, UIX::UIXRenderState State, uint32_t Progress) const { + // Nothing to render + if (!Progress) + return; + // Bring client rect to stack Drawing::Rectangle Rect(Ctrl->ClientRectangle());