Rotate and resize Panel with Shape


I want to resize and rotate Panel with Shape. Now when I rotate Panel Shape rotates too, but whet I resize Panel, Shape doesn’t resize.
Is it bug? or I have to add some properties?

Here is a demo Plunker - GoJs FreehandDrawingTool Rotate wrapper
here is a video Dropbox - File Deleted

That is the standard behavior, as you can experience in the unmodified sample Freehand Drawing Tool.

Depending on the type of Panel that you have and how its elements, including that Shape, are supposed to be arranged, I suspect you need to set GraphObject.stretch to go.GraphObject.Fill on that Shape.