whitespace

This commit is contained in:
Sam El-Husseini 2016-11-07 10:33:22 -08:00
parent 48afb52ef1
commit 29eef560b0
1 changed files with 1 additions and 1 deletions

View File

@ -713,7 +713,7 @@ namespace pxsim.visuals {
}
let bbox = this.element.getBoundingClientRect();
let ax = (ev.clientX - bbox.width / 2) / ( bbox.width / 3);
let ax = (ev.clientX - bbox.width / 2) / (bbox.width / 3);
let ay = (ev.clientY - bbox.height / 2) / (bbox.height / 3);
let x = - Math.max(- 1023, Math.min(1023, Math.floor(ax * 1023)));