diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 4463193..639f1ef 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,12 +1,7 @@ - - - - - - + @@ -242,25 +237,24 @@ - - - + - + - + diff --git a/background.js b/background.js index 733eafb..ddb03d5 100644 --- a/background.js +++ b/background.js @@ -189,9 +189,9 @@ function drawWinnerCloseUp(ctx, width, height, horseSize, finalPlaces){ ctx.font = "40px Arial"; ctx.strokeStyle = '#000000'; ctx.lineWidth = 3; - ctx.strokeText(finalPlaces[0].name, horseSize* 3, height - (horseSize * 3)-60); + ctx.strokeText(finalPlaces[0].name, horseSize* 3, height - (horseSize * 3)+60); ctx.fillStyle = '#ffffff'; - ctx.fillText(finalPlaces[0].name, horseSize* 3, height - (horseSize * 3) - 60); + ctx.fillText(finalPlaces[0].name, horseSize* 3, height - (horseSize * 3) + 60); ctx.lineWidth =1; winnerTextCounter --;