fix "special case" for rectangles - property chnage parameter wasnt being set

in some cases.


SVN revision: 3761
This commit is contained in:
Carsten Haitzler 2000-10-28 18:03:39 +00:00
parent 2e06735388
commit 92e9ebd222
1 changed files with 14 additions and 1 deletions

View File

@ -329,7 +329,20 @@ evas_render(Evas e)
(o->current.zoomscale != o->previous.zoomscale) ||
(o->current.layer != o->previous.layer) ||
(o->current.stacking))))
prop_change = 1;
prop_change = 1;
if ((!prop_change) &&
(o->type == OBJECT_RECTANGLE))
{
Evas_Object_Rectangle oo;
oo = o;
if ((oo->current.r != oo->previous.r) ||
(oo->current.g != oo->previous.g) ||
(oo->current.b != oo->previous.b) ||
(oo->current.a != oo->previous.a)
)
prop_change = 1;
}
real_change = 1;
}