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:
parent
903666f2ed
commit
1ddc888ea4
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class Mouse
|
|||
{
|
||||
this.position.x = event.clientX;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue