moveable
moveable copied to clipboard
Line break in the corner
Environments
- Framework name: N/A
- Framework version: N/A
- Moveable Component version: 0.51.1
Description
I want to change line thickness from 1px to 2px but after this style change I see a line break in the corner
.moveable-line.moveable-direction {
height: 2px;
}
How can I avoid it?
You'll have to modify the width/positioning of the lines to be +x/-x, where x is the height delta.
@SidIcarus
croact-moveable0.8.0@moveable/helper0.1.3lit-moveable0.29.0moveable0.52.0preact-moveable0.54.0react-moveable0.55.0svelte-moveable0.44.0vue-moveable2.0.0-beta.86vue3-moveable0.27.0ngx-moveable0.49.0
moveable' s new version is released. Added line size calculation.
@daybrush thanks for the fix! It works well for 1px lines, but we set the height of rendering lines to 2px and it has a little break.
.moveable-line.moveable-direction {
height: 2px !important;
}
Can we fix it somehow?
@daybrush
Because this calculates and sets CSS, it is difficult to support the problem of broken corners.