Konva.Transformer is changing
scaleY properties of a node.
By default, if you are transforming a shape, its stroke will be scaled too. It some cases that is not a good behavior.
There are two ways to prevent stroke scaling: (1) reset scale of a shape or (2) use combination of
Instructions: there are two rectangles to resize. The green one will reset it scale. The red one will just disable stroke scaling.