diff --git a/app/ui/styles/item/dialogs.scss b/app/ui/styles/item/dialogs.scss index af4e92155..a2bc54db8 100644 --- a/app/ui/styles/item/dialogs.scss +++ b/app/ui/styles/item/dialogs.scss @@ -165,6 +165,6 @@ width: 60.0rem; left: 50%; margin-left: -30.0rem; - margin-top: 15.0rem; + margin-top: 25.0rem; } } diff --git a/app/view/nodes/cards/BottomDeckCardNode.js b/app/view/nodes/cards/BottomDeckCardNode.js index 4a17bf9f7..906141c7b 100644 --- a/app/view/nodes/cards/BottomDeckCardNode.js +++ b/app/view/nodes/cards/BottomDeckCardNode.js @@ -63,7 +63,7 @@ const BottomDeckCardNode = SdkNode.extend({ // mana token this.manaTokenSprite = BaseSprite.create(RSX.icon_mana.img); - this.manaTokenSprite.setAnchorPoint(0.5, 0.5); + this.manaTokenSprite.setAnchorPoint(0.49, 0.45); this.manaTokenSprite.setPosition(cc.p(contentSize.width * 0.5, contentSize.height * 0.5 - 50.0)); this.manaTokenSprite.setScale(0.65); diff --git a/app/view/nodes/cards/CardNode.js b/app/view/nodes/cards/CardNode.js index 1a2649b49..d5dab047a 100644 --- a/app/view/nodes/cards/CardNode.js +++ b/app/view/nodes/cards/CardNode.js @@ -187,7 +187,7 @@ var CardNode = SdkNode.extend({ // mana label this.manaLabel = new cc.LabelTTF('', RSX.font_bold.name, 24, cc.size(48, 24), cc.TEXT_ALIGNMENT_CENTER); this.manaLabel.setFontFillColor({ r: 0, g: 33, b: 159 }); - this.manaLabel.setAnchorPoint(0.5, 0.5); + this.manaLabel.setAnchorPoint(0.51, 0.65); this.manaLabel.setVisible(false); this._staticContainerNodeFront.addChild(this.manaLabel, 2); @@ -340,8 +340,8 @@ var CardNode = SdkNode.extend({ // contained elements relative to center this._manaGemSprite.setPosition(-100, cardBackgroundContentSize.height * 0.5 - 20); this.manaLabel.setPosition(-100, cardBackgroundContentSize.height * 0.5 - 17); - this.atkLabel.setPosition(-61, -28); - this.hpLabel.setPosition(59, -28); + this.atkLabel.setPosition(-61, -32); + this.hpLabel.setPosition(59, -32); this.cardNameLabel.setPosition(0.0, 21.0); this.cardTypeLabel.setPosition(0.0, 4.0); this.factionNameLabel.setPosition(0.0, -150.0); diff --git a/app/view/nodes/cards/StatsNode.js b/app/view/nodes/cards/StatsNode.js index e498549e1..67dd7c75b 100644 --- a/app/view/nodes/cards/StatsNode.js +++ b/app/view/nodes/cards/StatsNode.js @@ -59,13 +59,13 @@ const StatsNode = EntitySupportNode.extend({ this.atkLabel = new cc.LabelTTF('', RSX.font_regular.name, CONFIG.OVERLAY_STATS_TEXT_SIZE); this.atkLabel.setFontFillColor(cc.color.WHITE); this.atkLabel.setHorizontalAlignment(cc.TEXT_ALIGNMENT_CENTER); - this.atkLabel.setAnchorPoint(cc.p(0.5, 0.5)); + this.atkLabel.setAnchorPoint(cc.p(0.5, 0.65)); this.addChild(this.atkLabel); this.hpLabel = new cc.LabelTTF('', RSX.font_regular.name, CONFIG.OVERLAY_STATS_TEXT_SIZE); this.hpLabel.setFontFillColor(cc.color.WHITE); this.hpLabel.setHorizontalAlignment(cc.TEXT_ALIGNMENT_CENTER); - this.hpLabel.setAnchorPoint(cc.p(0.5, 0.5)); + this.hpLabel.setAnchorPoint(cc.p(0.5, 0.65)); this.addChild(this.hpLabel); // position stats