Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pageoffset calculation for vertical ruler
- Before this commit vertical ruler stays only in first page - if we jum to page 2,3 so and so ruler won't change it's possition - but i have added some calculation based data we recevice from CORE - calculation: - we need to consider pageoffset for vertical ruler - check if cursor moves to other page - then add total Height of previous pages. - for Ex: if we are at page 3 then ruler.marginInlineStart should additionally have total height ( page1Height + page2Height) - this will place ruler to exact possition where we want - next : add Top and Bottom margin drag Signed-off-by: Darshan-upadhyay1110 <[email protected]> Change-Id: Ie2a2d4e5f0cfd627bcafd81230ad33b7aec280a2 Signed-off-by: Darshan-upadhyay1110 <[email protected]>
- Loading branch information