Replace hard-coded color values with Palette colors and use the correct palette colors (#51)

This commit is contained in:
lolocomotive
2021-10-20 22:25:27 +02:00
committed by GitHub
parent 917ba7ce83
commit bd207cb845
4 changed files with 7 additions and 7 deletions

View File

@@ -81,7 +81,7 @@ void HistoryViewCell::reloadSubviewHighlight() {
m_ellipsis.setHighlighted(false);
if (isHighlighted()) {
if (m_dataSource->selectedSubviewType() == HistoryViewCellDataSource::SubviewType::Input) {
m_inputView.setExpressionBackgroundColor(Palette::ListCellBackgroundSelected);
m_inputView.setExpressionBackgroundColor(Palette::Select);
} else if (m_dataSource->selectedSubviewType() == HistoryViewCellDataSource::SubviewType::Output) {
m_scrollableOutputView.evenOddCell()->setHighlighted(true);
} else {