diff options
Diffstat (limited to 'src/ui/window.cpp')
-rw-r--r-- | src/ui/window.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/window.cpp b/src/ui/window.cpp index 9edbd398..8889e032 100644 --- a/src/ui/window.cpp +++ b/src/ui/window.cpp @@ -439,12 +439,12 @@ namespace cru } } -#ifdef CRU_DEBUG_DRAW_CONTROL_BORDER - void Window::SetDebugDrawControlBorder(const bool value) +#ifdef CRU_DEBUG_LAYOUT + void Window::SetDebugLayout(const bool value) { - if (debug_draw_control_border_ != value) + if (debug_layout_ != value) { - debug_draw_control_border_ = value; + debug_layout_ = value; Repaint(); } } @@ -501,7 +501,7 @@ namespace cru void Window::OnResizeInternal(const int new_width, const int new_height) { render_target_->ResizeBuffer(new_width, new_height); if (!(new_width == 0 && new_height == 0)) - Relayout(); + InvalidateLayout(); } void Window::OnSetFocusInternal() |