From c9c4a5c29d68a955cd20bfa514d991c50c4a3b5d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 6 Nov 2014 10:53:48 -0500 Subject: [PATCH] raising/lowering canvas items should trigger a redraw --- libs/canvas/item.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/canvas/item.cc b/libs/canvas/item.cc index 593e7b4316..1b0bb0416a 100644 --- a/libs/canvas/item.cc +++ b/libs/canvas/item.cc @@ -892,7 +892,9 @@ Item::raise_child_to_top (Item* i) _items.remove (i); _items.push_back (i); + invalidate_lut (); + redraw (); } void @@ -911,6 +913,7 @@ Item::raise_child (Item* i, int levels) _items.insert (j, i); invalidate_lut (); + redraw (); } void @@ -924,6 +927,7 @@ Item::lower_child_to_bottom (Item* i) _items.remove (i); _items.push_front (i); invalidate_lut (); + redraw (); } void