mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CComponentsPicture: fix item position
x/y position was not assigned here for internal pic_x/pic_y vars. Therefore x/y was ignored.
This commit is contained in:
@@ -153,7 +153,7 @@ void CComponentsPicture::initCCItem()
|
||||
void CComponentsPicture::initPosition()
|
||||
{
|
||||
//using of real x/y values to paint images if this picture object is bound in a parent form
|
||||
int px = x, py = y;
|
||||
int px = pic_x = x, py = pic_y = y;
|
||||
if (cc_parent){
|
||||
px = cc_xr;
|
||||
py = cc_yr;
|
||||
|
Reference in New Issue
Block a user