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:
2014-02-14 14:44:08 +01:00
parent c21df2be59
commit 1b4e545c5d

View File

@@ -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;