mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +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()
|
void CComponentsPicture::initPosition()
|
||||||
{
|
{
|
||||||
//using of real x/y values to paint images if this picture object is bound in a parent form
|
//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){
|
if (cc_parent){
|
||||||
px = cc_xr;
|
px = cc_xr;
|
||||||
py = cc_yr;
|
py = cc_yr;
|
||||||
|
Reference in New Issue
Block a user