Compare commits
1 commit
main
...
fix/nogo-p
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e55f116020 |
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ function NoGoAreaButton({ active, onClick }: { active: boolean; onClick: () => v
|
||||||
href="#"
|
href="#"
|
||||||
role="button"
|
role="button"
|
||||||
title={active ? "Cancel no-go area" : "Draw no-go area"}
|
title={active ? "Cancel no-go area" : "Draw no-go area"}
|
||||||
onClick={(e) => { e.preventDefault(); onClick(); }}
|
onClick={(e) => { e.preventDefault(); e.stopPropagation(); onClick(); }}
|
||||||
style={{
|
style={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue