Merge pull request #6321 from sethalves/fix-whiteboard

whiteboard fixes
This commit is contained in:
Ryan Downe Karpf 2015-11-05 13:28:21 -08:00
commit c6c578e48c
2 changed files with 12 additions and 4 deletions

View file

@ -455,6 +455,10 @@ function MyController(hand) {
continue; continue;
} }
if (propsForCandidate.type == 'PolyLine') {
continue;
}
if (propsForCandidate.type == 'Zone') { if (propsForCandidate.type == 'Zone') {
continue; continue;
} }

View file

@ -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);