TextGraphic icon indicating copy to clipboard operation
TextGraphic copied to clipboard

Chart Ruler has invalid spacings in the initiation ShapeView

Open pouyakary opened this issue 3 years ago • 2 comments

pouyakary avatar Jul 11 '21 17:07 pouyakary

can I work on this issue?

hosseind88 avatar Jul 15 '21 12:07 hosseind88

You can certainly try. The bug is in the ./textkit/source/shapes/rulers/chart-rulers.ts. The ShapeView object expects its init lines to be the same length. The h-ruler has has two lines (one the ruler and one the numbers). You have to figure out which line is not spaced right.

You have to write the code with the KCS applied to it. It is a small bug, so if you don't apply KCS it will be far easier for me to just fix it instead of reviewing your code. You can also play around with the rulers in the ruler playground

pouyakary avatar Jul 15 '21 19:07 pouyakary