diff options
author | crupest <crupest@outlook.com> | 2018-10-06 23:10:32 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-10-06 23:10:32 +0800 |
commit | beb6cfa6b3492f5a9d89ba99c03358c22598e7aa (patch) | |
tree | 5a32e5ab38f9c1273640cce62912f58bdeca5d8e /src/ui/control.cpp | |
parent | 7e870dd16e2f5b41fa6c6f687723aaa50c16274d (diff) | |
download | cru-beb6cfa6b3492f5a9d89ba99c03358c22598e7aa.tar.gz cru-beb6cfa6b3492f5a9d89ba99c03358c22598e7aa.tar.bz2 cru-beb6cfa6b3492f5a9d89ba99c03358c22598e7aa.zip |
Fix all Relayout to InvalidateLayout.
Diffstat (limited to 'src/ui/control.cpp')
-rw-r--r-- | src/ui/control.cpp | 1 |
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 |