Conversation
41bac48 to
01f3cd9
Compare
a38dfef to
be753b1
Compare
vmiklos
left a comment
There was a problem hiding this comment.
Looks OK in general, I see that dragging shapes in the doc compare view on the RHS is now better; we used to show the preview on the LHS, which was buggy. Please next time describe in the commit messages what are the steps to reproduce the problem you fix, so it's easier to understand your changes, especially if they introduce regressions in the future -- then we'll need to know how to improve the code so both a new and an old use-case works as the same time. So far none of the 4 commit messages contain such description.
Some other comments:
-
svgPosition now contains view coordinates, which made me test the shape anchor overlay, which seems to be buggy. I notice it was bad already before this PR. Seems dragging the shape anchor in Writer now moves the shape? That sounds unexpected.
-
that double anchor counting (see inline) comment looks wrong, but I may miss something.
Could you please go through the comments and either address them or comment there in case I misunderstood something? (And then feel free to merge this yourself.) Thanks.
Issue: We have new way of coordinate calculation. We now have ViewLayout class and it can decide to manipulate a point's screen coordinate. For this use case, we need to use vX, vY properties. This change fixes mis-located shapes in CompareChanges view layout. Signed-off-by: Gökay Şatır <gokaysatir@collabora.com> Change-Id: Ia86285de8581dc2effd9d773d8f38c82a43e6eac
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com> Change-Id: I87756178c884a5ac2ee6ac414079cb5b6ee06214
Tested on different views and apps with different browser zoom level. Signed-off-by: Gökay Şatır <gokaysatir@collabora.com> Change-Id: I7070130b230129423af59661eccc2415bcdd1136
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com> Change-Id: Id077ed178fb7171444a05a16d327a456b8ba107f
+some misc changes. Signed-off-by: Gökay Şatır <gokaysatir@collabora.com> Change-Id: I482fb735630dd4d03362594d7be68de0f3a52a4b
be753b1 to
1bdef21
Compare
Thanks for checking @vmiklos. I reworded the first commit, added comments where needed and added a condition for the anchor section. Prepared a final commit for changes. |
Summary
TODO
Checklist
make prettier-writeand formatted the code.make checkmake runand manually verified that everything looks okay