defensive arrows
This commit is contained in:
@@ -46,6 +46,7 @@ class TargetSvg extends Component {
|
||||
const sourceY = height;
|
||||
const sourceX = (source * width / 3) + width / 6;
|
||||
const targetX = (target * width / 3) + width / 6
|
||||
+ (defensive ? width / 64 : 0)
|
||||
+ (pathOffset * width / 32);
|
||||
const targetY = defensive ? height : 0;
|
||||
const bendStart = height * (0.7 - 0.1 * source);
|
||||
|
||||
Reference in New Issue
Block a user