Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Commit

Permalink
fixed hex
Browse files Browse the repository at this point in the history
  • Loading branch information
halihuang committed Feb 15, 2020
1 parent 150de54 commit 97d0384
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/www/tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ function draw(targets) {
octx.fillRect(target.xpos,target.ypos, target.width, target.width * 11/7);
}
if(target.shape =='PORT'){
x = target.xpos;
y = target.ypos;
size = target.width;
var x = target.xpos;
var y = target.ypos;
var size = target.width;
octx.beginPath();
octx.moveTo(x + size * Math.cos(0), y + size * Math.sin(0));
for (var side = 0; side < 7; side++) {
Expand Down

0 comments on commit 97d0384

Please sign in to comment.