diff --git a/kivy/c_ext/graphics.pyx b/kivy/c_ext/graphics.pyx index 78eb8f87a..a0ba99be7 100644 --- a/kivy/c_ext/graphics.pyx +++ b/kivy/c_ext/graphics.pyx @@ -91,10 +91,12 @@ cdef class Canvas: cpdef add_canvas(self, Canvas canvas): if not canvas in self._children: self._children.append(canvas) + self._need_compile = 1 cpdef remove_canvas(self, Canvas canvas): if canvas in self._children: self._children.remove(canvas) + self._need_compile = 1 cdef add(self, GraphicInstruction instruction): self.need_compile = 1