Fix: remove setTextBound for keybutton
Fix: word practice text Fix: move keyboard, hands position Fix: typing content bg
This commit is contained in:
@@ -31,7 +31,7 @@ class Hand {
|
||||
|
||||
let mask = game.add.graphics();
|
||||
mask.beginFill(0xffffff);
|
||||
mask.drawRect(100, 300, 1028, 400);
|
||||
mask.drawRect(100, 300, 1028, 360);
|
||||
this.hand.mask = mask;
|
||||
}
|
||||
|
||||
@@ -84,8 +84,7 @@ class Hand {
|
||||
}
|
||||
|
||||
highlightOnFinger(fingerNo) {
|
||||
console.log(fingerNo);
|
||||
console.log(this);
|
||||
// console.log(fingerNo);
|
||||
let pressingFingerSprite = this.getFingerSprite(fingerNo);
|
||||
if(pressingFingerSprite === this.prevFingerSprite)
|
||||
return;
|
||||
@@ -94,7 +93,7 @@ class Hand {
|
||||
this.unhighlightOffFinger();
|
||||
|
||||
if(pressingFingerSprite !== null) {
|
||||
console.log(pressingFingerSprite);
|
||||
// console.log(pressingFingerSprite);
|
||||
pressingFingerSprite.tint = 0xffff00;
|
||||
pressingFingerSprite.alpha = 1;
|
||||
}
|
||||
@@ -113,7 +112,8 @@ class Hand {
|
||||
|
||||
}
|
||||
|
||||
Hand.DEFAULT_Y_PX = 580; // 680;
|
||||
Hand.DEFAULT_Y_PX = 540; // 680;
|
||||
|
||||
|
||||
|
||||
class LeftHand extends Hand {
|
||||
|
||||
Reference in New Issue
Block a user