Compare commits
No commits in common. "cdaeab1d42abc8e7ee363601dfa4a6e6fa25f0b2" and "47e3ae7d290e49b90fcbbc9c7c97af91ef07383a" have entirely different histories.
cdaeab1d42
...
47e3ae7d29
@ -176,10 +176,6 @@ export const usePolygon = () => {
|
|||||||
* @param showDirectionText
|
* @param showDirectionText
|
||||||
*/
|
*/
|
||||||
const drawDirectionArrow = (polygon, showDirectionText = true) => {
|
const drawDirectionArrow = (polygon, showDirectionText = true) => {
|
||||||
if (!polygon) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if (polygon.points.length < 3) {
|
if (polygon.points.length < 3) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user