Describe the bug
When changing the state of a drawing, the image is reset
To Reproduce
Insert a drawing
Select "Rainbow"
Draw something
Select "Line". This also works with "Eraser"
The drawn image will disappear
The same happens when changing the line colour, but simply setting the mode to "Line" (if that was the previous value) doesn't reset the image.
Expected behaviour
The image should not disappear
Desktop (please complete the following information):
Chromium 95 on Linux
Additional context
The new state management seems to trigger an update to the drawing element. So when changing the drawMode, the image is reset and the drawings lost.
This only happens since the last commit 6177161f5bcdb172fe56cc6cad7585cf64083c05
Describe the bug When changing the state of a drawing, the image is reset
To Reproduce
Expected behaviour The image should not disappear
Desktop (please complete the following information):
Additional context The new state management seems to trigger an update to the drawing element. So when changing the drawMode, the image is reset and the drawings lost. This only happens since the last commit 6177161f5bcdb172fe56cc6cad7585cf64083c05