mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
GTextEditor: Remove some debug spam.
This commit is contained in:
parent
77198ef735
commit
9591acc212
Notes:
sideshowbarker
2024-07-19 15:08:47 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/9591acc212d
1 changed files with 1 additions and 3 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue