Fix: TabLayout

This commit is contained in:
2019-07-26 22:31:00 +09:00
parent 9c26aa2a71
commit 05418be664
5 changed files with 31 additions and 31 deletions
+5 -4
View File
@@ -174,6 +174,7 @@ BasicTab.prototype.makeShortcutText = function() {
shortcutText.anchor.set(0.5);
shortcutText.fontSize = BasicTab.SHORTCUT_TEXT_FONTSIZE;
// shortcutText.fontSize = this.setting.shortcutTextSize;
shortcutText.fontWeight = "normal";
// shortcutText.addColor(this.setting.textColors.over, 0);
shortcutText.addColor("0xffffff", 0);
@@ -274,7 +275,7 @@ BasicTab.prototype.mouseOut = function() {
if(this.shortcutText !== undefined)
this.shortcutText.fill = this.setting.textColors.out;
// this.activeLineSprite.tint = this.setting.activeColors.out;
// this.activeLineSprite.tint = this.setting.activeLineColors.out;
}
BasicTab.prototype.mouseOver = function() {
@@ -287,7 +288,7 @@ BasicTab.prototype.mouseOver = function() {
if(this.shortcutText !== undefined)
this.shortcutText.fill = this.setting.textColors.over;
// this.activeLineSprite.tint = this.setting.activeColors.over;
// this.activeLineSprite.tint = this.setting.activeLineColors.over;
}
BasicTab.prototype.mouseDown = function() {
@@ -300,7 +301,7 @@ BasicTab.prototype.mouseDown = function() {
if(this.shortcutText !== undefined)
this.shortcutText.fill = this.setting.textColors.down;
// this.activeLineSprite.tint = this.setting.activeColors.down;
// this.activeLineSprite.tint = this.setting.activeLineColors.down;
}
BasicTab.prototype.buttonDisabled = function() {
@@ -313,7 +314,7 @@ BasicTab.prototype.buttonDisabled = function() {
if(typeof this.shortcutText !== undefined)
this.shortcutText.fill = this.setting.textColors.disabled;
// this.activeLineSprite.tint = this.setting.activeColors.disabled;
// this.activeLineSprite.tint = this.setting.activeLineColors.disabled;
}