Repository navigation
Render the draw vertex to be open to prevent occluding the target point. - #2241
Conversation
| <path | ||
| android:pathData="M12,12m-10.5,0a10.5,10.5 0,1 1,21 0a10.5,10.5 0,1 1,-21 0" | ||
| android:strokeWidth="0" | ||
| android:fillColor="@color/drawAreaLineStringStrokeColor"/> |
There was a problem hiding this comment.
Sorry to ask, but we just finalized the designs here:
Any chance you could update the styling to match? Just asked @rawbzz to confirm whether the color should match the polygon (job color) or be fixed. Thanks for your patience!
There was a problem hiding this comment.
Yes! No worries, happy to refactor!
There was a problem hiding this comment.
And I'm assuming that we'll be using the white circle to indicate the vertices, including the endcap, but the plus-sign is going to move independently on its own when panning, to minimize occlusion of the base layer?
There was a problem hiding this comment.
And I'm assuming that we'll be using the white circle to indicate the vertices, including the endcap, but the plus-sign is going to move independently on its own when panning, to minimize occlusion of the base layer?
Hey I hadn't thought of that, but it's a great idea. The only this is that this will only work because of a bug / incomplete FR where the edge only snaps to the map center when the camera stops moving. But the way you've done it makes this a feature rather than a bug, so LGTM. @rawbzz FYI
gino-m
left a comment
There was a problem hiding this comment.
A few suggestions. Thanks!
gino-m
left a comment
There was a problem hiding this comment.
P.S. Run Gradle target ktfmtFormat to fix formatting issues.
Some code quality checks are still failing. You can run these checks locally via gradle target |
Thank you! Turns out the whole file can be deleted, as it is now unused. Done. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2241 +/- ##
=========================================
Coverage 52.42% 52.42%
Complexity 1222 1222
=========================================
Files 317 317
Lines 6264 6264
Branches 659 659
=========================================
Hits 3284 3284
Misses 2617 2617
Partials 363 363
🚀 New features to boost your workflow:
|




Fixes #2110
Sets the draw tool to a static color and sets the draw target to be an open circle, allowing for better view of the data underneath.
@gino-m