- scrollbars: avoid usage of COL_SCROLLBAR_PASSIVE_PLUS_0 ...

... outside of CComponentsScrollBar(). Since the color-changes in
89bda2d the non-CC scrollbars looks weird.
This commit is contained in:
svenhoefer
2017-04-24 12:29:52 +02:00
parent fbe8889fa9
commit fe5f84c1d0
14 changed files with 15 additions and 15 deletions

View File

@@ -1766,7 +1766,7 @@ void CAudioPlayerGui::paint()
int ypos = m_y + m_title_height + m_theight;
int sb = m_fheight * m_listmaxshow;
m_frameBuffer->paintBoxRel(m_x + m_width - 15, ypos, 15, sb, COL_SCROLLBAR_PASSIVE_PLUS_0);
m_frameBuffer->paintBoxRel(m_x + m_width - 15, ypos, 15, sb, COL_SCROLLBAR_PLUS_0);
int sbc = ((m_playlist.size() - 1) / tmp_max) + 1;
int sbs = (m_selected / tmp_max);