Canvas GUI: fix updating canvas on window with decoration.
This commit is contained in:
parent
c3a87f75cd
commit
02e66fd034
1 changed files with 6 additions and 1 deletions
|
@ -122,7 +122,12 @@ namespace canvas
|
|||
void Window::setCanvasContent(sc::CanvasPtr canvas)
|
||||
{
|
||||
_canvas_content = canvas;
|
||||
setSrcCanvas(canvas);
|
||||
|
||||
if( _image_content )
|
||||
// Placement within decoration canvas
|
||||
_image_content->setSrcCanvas(canvas);
|
||||
else
|
||||
setSrcCanvas(canvas);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue