Showing the changes to tutorial/tutorial.js (1 of 2 files). Show all
Unified · Split
| @@ -535,11 +535,12 @@ stepNearGrab.prototype = { · 534 unmodified lines | |||
| 535 | this.finished = false; | 535 | this.finished = false; |
| 536 | this.onFinish = onFinish; | 536 | this.onFinish = onFinish; |
| 537 | 537 | ||
| 538 | setControllerPartLayer('tips', 'trigger'); | ||
| 539 | |||
| 540 | if (this.controllerName === CONTROLLER_TOUCH) { | 538 | if (this.controllerName === CONTROLLER_TOUCH) { |
| 541 | setControllerPartLayer('both_triggers', 'highlight'); | 539 | setControllerPartLayer('tips', 'both_triggers'); |
| 540 | setControllerPartLayer('trigger', 'highlight'); | ||
| 541 | setControllerPartLayer('grip', 'highlight'); | ||
| 542 | } else { | 542 | } else { |
| 543 | setControllerPartLayer('tips', 'trigger'); | ||
| 543 | setControllerPartLayer('trigger', 'highlight'); | 544 | setControllerPartLayer('trigger', 'highlight'); |
| 544 | } | 545 | } |
| 545 | 546 | ||
| @@ -581,8 +582,8 @@ stepNearGrab.prototype = { · 35 unmodified lines | |||
| 581 | debug("NearGrab | Cleanup"); | 582 | debug("NearGrab | Cleanup"); |
| 582 | this.finished = true; | 583 | this.finished = true; |
| 583 | setControllerPartLayer('tips', 'blank'); | 584 | setControllerPartLayer('tips', 'blank'); |
| 584 | setControllerPartLayer('both_triggers', 'normal'); | ||
| 585 | setControllerPartLayer('trigger', 'normal'); | 585 | setControllerPartLayer('trigger', 'normal'); |
| 586 | setControllerPartLayer('grip', 'normal'); | ||
| 586 | hideEntitiesWithTags(this.tags); | 587 | hideEntitiesWithTags(this.tags); |
| 587 | deleteEntitiesWithTag(this.tempTag); | 588 | deleteEntitiesWithTag(this.tempTag); |
| 588 | if (this.positionWatcher) { | 589 | if (this.positionWatcher) { |