(radius)
| 835 | } |
| 836 | |
| 837 | function correctRadius(radius) { |
| 838 | let aspectRatio = canvas.width / canvas.height; |
| 839 | if (aspectRatio > 1) radius *= aspectRatio; |
| 840 | return radius; |
| 841 | } |
| 842 | |
| 843 | function updatePointerDownData(pointer, id, posX, posY) { |
| 844 | pointer.id = id; |