mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 22:30:42 +02:00
Fixes
This commit is contained in:
parent
eb0d91fc7e
commit
a80871a7a8
2 changed files with 4 additions and 6 deletions
|
@ -190,7 +190,7 @@ function mousePressEvent(event) {
|
|||
sendCommand(i, STOP);
|
||||
} else if (loadIcon[i] === toolBars[i].clicked(clickedOverlay, false)) {
|
||||
input_text = Window.prompt("Insert the url of the clip: ","");
|
||||
if(!(input_text === "" || input_text === null)) {
|
||||
if (!(input_text === "" || input_text === null)) {
|
||||
clip_url = input_text;
|
||||
sendCommand(i, LOAD);
|
||||
}
|
||||
|
@ -211,7 +211,7 @@ function mousePressEvent(event) {
|
|||
sendCommand(i, STOP);
|
||||
} else if (loadIcon[i] === toolBars[i].clicked(clickedOverlay, false)) {
|
||||
input_text = Window.prompt("Insert the url of the clip: ","");
|
||||
if(!(input_text === "" || input_text === null)) {
|
||||
if (!(input_text === "" || input_text === null)) {
|
||||
clip_url = input_text;
|
||||
sendCommand(i, LOAD);
|
||||
}
|
||||
|
|
|
@ -66,12 +66,10 @@ function getAction(controlEntity) {
|
|||
var uD_action = userData.actionKey.uD_action;
|
||||
var uD_url = userData.clipKey.uD_url;
|
||||
|
||||
print("Sono " + id + " e ho ricevuto un comando da " + uD_id);
|
||||
|
||||
Entities.deleteEntity((Entities.getEntityProperties(controlEntity)).id);
|
||||
|
||||
if(uD_id === id || uD_id === -1) {
|
||||
if(uD_action === 6)
|
||||
if (uD_id === id || uD_id === -1) {
|
||||
if (uD_action === 6)
|
||||
clip_url = uD_url;
|
||||
|
||||
return uD_action;
|
||||
|
|
Loading…
Reference in a new issue