mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +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.
Origin commit data
------------------
Commit: 27c6bdccaf
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-14 (Fri, 14 Feb 2014)
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