drawio
drawio copied to clipboard
Unable to set the value of the slope angle to more than 1 in the style editor
Preflight Checklist
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Describe the bug When creating a parallelogram/trapezoid, it is unable to set the value of the slope angle to more than 1 in the style editor.
To Reproduce Steps to reproduce the behavior:
- Create a parallelogram.
- Click on the created parallelogram shape to open the style editor
- Open the property list and find the "Slope Angle" item, change its value to 30 The value is not changed to 30 but clipped to 1.
Expected behavior The value of the "Slope Angle" is changed to 30
Screenshots
https://github.com/jgraph/drawio/assets/38486514/6045de73-df29-4bcf-8e32-bc5af37d0366
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version: 21.3.2
Desktop
- OS: Ubuntu 22.04
- Browser: Firefox 114.0.1
Additional context
Current workaround: right click on the shape, click "Edit Style", and modify the "size" value.
Possible cause:
https://github.com/jgraph/drawio/blob/9d6532de36496e77d872d91b1947bb696607d623/src/main/webapp/js/diagramly/Editor.js#L4334-L4337