mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
detailsline: remove unneeded position/dimension additions
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0a94cd86d7
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-12 (Mon, 12 Sep 2016)
Origin message was:
------------------
- detailsline: remove unneeded position/dimension additions
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1675,13 +1675,13 @@ void CChannelList::paintItem2DetailsLine (int pos)
|
||||
return;
|
||||
|
||||
int xpos = x - ConnectLineBox_Width;
|
||||
int ypos1 = y + theight + pos*fheight + (fheight/2)-2;
|
||||
int ypos2 = y + height + (info_height/2)-2;
|
||||
int ypos1 = y + theight + pos*fheight + (fheight/2);
|
||||
int ypos2 = y + height + (info_height/2);
|
||||
|
||||
// paint Line if detail info (and not valid list pos)
|
||||
if (pos >= 0) {
|
||||
if (dline == NULL)
|
||||
dline = new CComponentsDetailLine(xpos, ypos1, ypos2, fheight/2+1, info_height-RADIUS_LARGE*2);
|
||||
dline = new CComponentsDetailLine(xpos, ypos1, ypos2, fheight/2, info_height-RADIUS_LARGE*2);
|
||||
dline->paint(false);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user