From 6cd7b4e168fdda6bf83187cda9269cad5f9ee0ed Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 19 Sep 2018 23:59:15 +0800 Subject: Change the macro controlling the debug control border. --- CruUI/ui/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CruUI/ui/control.cpp') 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()); -- cgit v1.2.3