From 84fe92e3d76d0d3f9f14f4137d97ee2134218034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20MAUFFR=C3=89?= <41242166+LukasMFR@users.noreply.github.com> Date: Sun, 2 Nov 2025 11:34:49 +0100 Subject: [PATCH] Fix highlight background in console line view Replaces Palette::BackgroundApps with Palette::CodeBackground for highlighted console lines to ensure consistent background color. --- apps/code/console_line_cell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/code/console_line_cell.cpp b/apps/code/console_line_cell.cpp index 3cad12787..e445b280d 100644 --- a/apps/code/console_line_cell.cpp +++ b/apps/code/console_line_cell.cpp @@ -19,7 +19,7 @@ void ConsoleLineCell::ScrollableConsoleLineView::ConsoleLineView::setLine(Consol void ConsoleLineCell::ScrollableConsoleLineView::ConsoleLineView::drawRect(KDContext * ctx, KDRect rect) const { ctx->fillRect(bounds(), Palette::CodeBackground); - ctx->drawString(m_line->text(), KDPointZero, GlobalPreferences::sharedGlobalPreferences()->font(), textColor(m_line), isHighlighted()? Palette::Select : Palette::BackgroundApps); + ctx->drawString(m_line->text(), KDPointZero, GlobalPreferences::sharedGlobalPreferences()->font(), textColor(m_line), isHighlighted()? Palette::Select : Palette::CodeBackground); } KDSize ConsoleLineCell::ScrollableConsoleLineView::ConsoleLineView::minimalSizeForOptimalDisplay() const {