From beb6cfa6b3492f5a9d89ba99c03358c22598e7aa Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 6 Oct 2018 23:10:32 +0800 Subject: Fix all Relayout to InvalidateLayout. --- src/ui/control.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ui/control.cpp') diff --git a/src/ui/control.cpp b/src/ui/control.cpp index 4acdd8f1..a75cab37 100644 --- a/src/ui/control.cpp +++ b/src/ui/control.cpp @@ -394,7 +394,6 @@ namespace cru { if (GetWindow()->GetDebugDrawControlBorder()) { auto brush = Application::GetInstance()->GetDebugBorderBrush(); - const auto size = GetSize(); device_context->DrawRectangle(Convert(GetRect(RectRange::Margin)), brush.Get()); } #endif -- cgit v1.2.3