Fix: TabLayout
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user