aboutsummaryrefslogtreecommitdiff
path: root/src/ui/control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/control.cpp')
-rw-r--r--src/ui/control.cpp1
1 files changed, 0 insertions, 1 deletions
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