mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +02:00
moviebrowser.cpp: fix position of top marker for details line
Top marker was painted at wrong y position.
This commit is contained in:
@@ -1627,7 +1627,7 @@ void CMovieBrowser::refreshDetailsLine(int pos)
|
|||||||
int theight = m_pcBrowser->getTitleHeight();
|
int theight = m_pcBrowser->getTitleHeight();
|
||||||
|
|
||||||
int xpos = m_cBoxFrameBrowserList.iX - DETAILSLINE_WIDTH;
|
int xpos = m_cBoxFrameBrowserList.iX - DETAILSLINE_WIDTH;
|
||||||
int ypos1 = m_cBoxFrameBrowserList.iY + hheight + theight + OFFSET_INNER_MID + pos*fheight + (fheight/2);
|
int ypos1 = m_cBoxFrameBrowserList.iY + hheight + theight + pos*fheight + (fheight/2);
|
||||||
int ypos2 = m_cBoxFrameInfo1.iY + (m_cBoxFrameInfo1.iHeight/2);
|
int ypos2 = m_cBoxFrameInfo1.iY + (m_cBoxFrameInfo1.iHeight/2);
|
||||||
|
|
||||||
if (m_detailsLine == NULL)
|
if (m_detailsLine == NULL)
|
||||||
|
Reference in New Issue
Block a user