diff options
Diffstat (limited to 'CruUI/ui')
-rw-r--r-- | CruUI/ui/control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CruUI/ui/control.cpp b/CruUI/ui/control.cpp index e2f63d02..4d69100d 100644 --- a/CruUI/ui/control.cpp +++ b/CruUI/ui/control.cpp @@ -321,7 +321,7 @@ namespace cru { void Control::OnDraw(ID2D1DeviceContext * device_context) { -#ifdef CRU_DEBUG +#ifdef CRU_DEBUG_DRAW_CONTROL_BORDER auto brush = Application::GetInstance()->GetDebugBorderBrush(); const auto size = GetSize(); device_context->DrawRectangle(D2D1::RectF(0, 0, size.width, size.height), brush.Get()); |