mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 21:46:34 +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;
|
||||
}
|
||||
|
||||
if (propsForCandidate.type == 'PolyLine') {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (propsForCandidate.type == 'Zone') {
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -75,8 +75,8 @@ var drawingSurface = Entities.addEntity({
|
|||
color: {
|
||||
currentColor: colors[0]
|
||||
},
|
||||
"grabbableKey": {
|
||||
wantsTrigger:true
|
||||
grabbableKey: {
|
||||
wantsTrigger: true
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -156,7 +156,10 @@ function setUp() {
|
|||
color: {
|
||||
currentColor: colors[0]
|
||||
},
|
||||
colorIndicator: colorIndicatorBox
|
||||
colorIndicator: colorIndicatorBox,
|
||||
grabbableKey: {
|
||||
wantsTrigger: true
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
|
@ -189,7 +192,8 @@ function setUp() {
|
|||
script: scriptURL,
|
||||
userData: JSON.stringify({
|
||||
whiteboard: drawingSurface,
|
||||
colorIndicator: colorIndicatorBox
|
||||
colorIndicator: colorIndicatorBox,
|
||||
grabbableKey: {wantsTrigger: true}
|
||||
})
|
||||
});
|
||||
colorBoxes.push(colorBox);
|
||||
|
|
Loading…
Reference in a new issue