mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 04:08:13 +02:00
Merge pull request #6321 from sethalves/fix-whiteboard
whiteboard fixes
This commit is contained in:
commit
c6c578e48c
2 changed files with 12 additions and 4 deletions
|
@ -455,6 +455,10 @@ function MyController(hand) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (propsForCandidate.type == 'PolyLine') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (propsForCandidate.type == 'Zone') {
|
if (propsForCandidate.type == 'Zone') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,8 +75,8 @@ var drawingSurface = Entities.addEntity({
|
||||||
color: {
|
color: {
|
||||||
currentColor: colors[0]
|
currentColor: colors[0]
|
||||||
},
|
},
|
||||||
"grabbableKey": {
|
grabbableKey: {
|
||||||
wantsTrigger:true
|
wantsTrigger: true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -156,7 +156,10 @@ function setUp() {
|
||||||
color: {
|
color: {
|
||||||
currentColor: colors[0]
|
currentColor: colors[0]
|
||||||
},
|
},
|
||||||
colorIndicator: colorIndicatorBox
|
colorIndicator: colorIndicatorBox,
|
||||||
|
grabbableKey: {
|
||||||
|
wantsTrigger: true
|
||||||
|
}
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -189,7 +192,8 @@ function setUp() {
|
||||||
script: scriptURL,
|
script: scriptURL,
|
||||||
userData: JSON.stringify({
|
userData: JSON.stringify({
|
||||||
whiteboard: drawingSurface,
|
whiteboard: drawingSurface,
|
||||||
colorIndicator: colorIndicatorBox
|
colorIndicator: colorIndicatorBox,
|
||||||
|
grabbableKey: {wantsTrigger: true}
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
colorBoxes.push(colorBox);
|
colorBoxes.push(colorBox);
|
||||||
|
|
Loading…
Reference in a new issue