mirror of
https://github.com/overte-org/overte.git
synced 2025-04-11 18:12:34 +02:00
left mouse button only
This commit is contained in:
parent
aeb5cead65
commit
0d3add8596
1 changed files with 4 additions and 1 deletions
|
@ -64,7 +64,10 @@ function mouseMoveEvent(event) {
|
|||
}
|
||||
|
||||
|
||||
function mouseReleaseEvent() {
|
||||
function mouseReleaseEvent(event) {
|
||||
if (!event.isLeftButton) {
|
||||
return;
|
||||
}
|
||||
Controller.mouseMoveEvent.disconnect(mouseMoveEvent);
|
||||
removeLine();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue