diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-07 13:26:02 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-07 13:26:02 +0100 |
commit | 9591acc212dc39e5b0a0cc37840d070188bfb50d (patch) | |
tree | 787c904c436717f03a591970ec1ee66f1f0dae98 /LibGUI | |
parent | 77198ef735925d8b5a92c32ceb9b761cb7af8d54 (diff) | |
download | serenity-9591acc212dc39e5b0a0cc37840d070188bfb50d.zip |
GTextEditor: Remove some debug spam.
Diffstat (limited to 'LibGUI')
-rw-r--r-- | LibGUI/GTextEditor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/LibGUI/GTextEditor.cpp b/LibGUI/GTextEditor.cpp index 5aa9d1c9a3..2b19bd7e33 100644 --- a/LibGUI/GTextEditor.cpp +++ b/LibGUI/GTextEditor.cpp @@ -104,10 +104,8 @@ void GTextEditor::paint_event(GPaintEvent& event) painter.draw_text(line_rect, line.text(), TextAlignment::CenterLeft, Color::Black); } - if (is_focused() && m_cursor_state) { - dbgprintf("draw cursor @ %s (xlated %s, clip %s)\n", cursor_content_rect().to_string().characters(), cursor_content_rect().translated(painter.translation()).to_string().characters(), painter.clip_rect().to_string().characters()); + if (is_focused() && m_cursor_state) painter.fill_rect(cursor_content_rect(), Color::Red); - } painter.translate(-padding(), -padding()); painter.translate(m_horizontal_scrollbar->value(), m_vertical_scrollbar->value()); |