make Item::set_position() do nothing if the position doesn't change
This commit is contained in:
parent
f889f391a1
commit
79d2a686ff
@ -181,6 +181,10 @@ Item::item_to_window (ArdourCanvas::Rect const & r) const
|
||||
void
|
||||
Item::set_position (Duple p)
|
||||
{
|
||||
if (p == _position) {
|
||||
return;
|
||||
}
|
||||
|
||||
boost::optional<ArdourCanvas::Rect> bbox = bounding_box ();
|
||||
boost::optional<ArdourCanvas::Rect> pre_change_parent_bounding_box;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user