mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 03:38:28 +02:00
Fix desktop drawing mode creating more than one entity in an unusual way.
This commit is contained in:
parent
fb696bcbac
commit
ca37c5ee94
1 changed files with 2 additions and 2 deletions
|
@ -865,7 +865,7 @@
|
|||
restoreLastValues();
|
||||
tablet.gotoWebScreen(APP_URL + "?" + encodeURIComponent(JSON.stringify(_savedSettings)));
|
||||
break;
|
||||
|
||||
|
||||
case "changeTab":
|
||||
Settings.setValue("currentTab", event.currentTab);
|
||||
break;
|
||||
|
@ -1075,7 +1075,7 @@
|
|||
}
|
||||
|
||||
function mouseStartLine(event){
|
||||
if (event.isLeftButton && _rightBrush) {
|
||||
if (event.isLeftButton && _rightBrush && !_rightBrush.isDrawingLine()) {
|
||||
_isMouseDrawing = true;
|
||||
_rightBrush.startLine(getFingerPosition(event.x, event.y), MAX_LINE_WIDTH);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue