constraints: Clamp updated allocation to the nearest pixel
Use Clutter.ActorBox.clamp_to_pixel() to do it properly.
This commit is contained in:
@ -223,6 +223,8 @@ clutter_bind_constraint_update_allocation (ClutterConstraint *constraint,
|
||||
g_assert_not_reached ();
|
||||
break;
|
||||
}
|
||||
|
||||
clutter_actor_box_clamp_to_pixel (allocation);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user