simplification. raster, have a look at that FIXME, please.

SVN revision: 12089
This commit is contained in:
tsauerbeck 2004-10-30 14:28:40 +00:00 committed by tsauerbeck
parent daec1b2a81
commit a73abc4d87
1 changed files with 6 additions and 10 deletions

View File

@ -211,17 +211,13 @@ _edje_dragable_pos_set(Edje *ed, Edje_Real_Part *ep, double x, double y)
{
if ((ep->part->dragable.x) || (ep->part->dragable.y))
{
if (ep->confine_to)
{
ep->drag.x = x;
ep->drag.y = y;
}
else
{
ep->drag.x = x;
ep->drag.y = y;
}
ep->drag.x = x;
ep->drag.y = y;
}
/* FIXME: is this right? shouldn't we only request a recalc if we
* actually changed the values?
*/
ed->dirty = 1;
_edje_recalc(ed);
}