1
0
Fork 0
mirror of https://github.com/sbrl/Nibriboard.git synced 2018-01-10 21:33:49 +00:00

[client] Mouse: Fix typo in pressure

This commit is contained in:
Starbeamrainbowlabs 2017-10-07 13:07:14 +01:00
parent 903666f2ed
commit 1ddc888ea4

View file

@ -117,7 +117,7 @@ class Mouse
{ {
this.position.x = event.clientX; this.position.x = event.clientX;
this.position.y = event.clientY; this.position.y = event.clientY;
this.pressur = typeof event.pressure === "number" ? event.pressure : event.mozPressure; this.pressure = typeof event.pressure === "number" ? event.pressure : event.mozPressure;
} }
} }