Hide bracket after shoot
This commit is contained in:
parent
607d1894d7
commit
c313988a6b
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ var _COLOR_GRASS = '#388E3C',
|
||||||
}
|
}
|
||||||
|
|
||||||
function drawBracket() {
|
function drawBracket() {
|
||||||
|
if(bVec != null) return;
|
||||||
var x = pX,
|
var x = pX,
|
||||||
y = pY
|
y = pY
|
||||||
if(Math.hypot(pX - bX, pY - bY) > _MAX_BRACKET){
|
if(Math.hypot(pX - bX, pY - bY) > _MAX_BRACKET){
|
||||||
|
|
Reference in a new issue