Permalink
Browse files

fix menu button

  • Loading branch information...
keitoAtZ committed Nov 23, 2014
1 parent 31e3cab commit f408ca703e426d12e1516cb053bafb8095bec346
Showing with 24 additions and 11 deletions.
  1. +1 −0 tyrano/plugins/kag/kag.key_mouse.js
  2. +21 −11 tyrano/plugins/kag/kag.menu.js
  3. +2 −0 tyrano/plugins/kag/kag.tag_ext.js
@@ -78,6 +78,7 @@ tyrano.plugin.kag.key_mouose = {
j_layer.show();
}
}
tyrano.plugin.kag.layer.showFixLayer();
tyrano.plugin.kag.stat.is_hide_message = false;
} else {
tyrano.plugin.kag.ftag.startTag("hidemessage");
@@ -41,8 +41,9 @@ tyrano.plugin.kag.menu ={
//スキップを開始する
layer_menu.html("");
layer_menu.hide();
$(".button_menu").show();
if(that.kag.config.configVisible=="true"){
$(".button_menu").show();
}
//nextOrder にして、
that.kag.stat.is_skip = true;
@@ -62,8 +63,9 @@ tyrano.plugin.kag.menu ={
layer_menu.find(".menu_close").click(function(e){
layer_menu.hide();
$(".button_menu").show();
if(that.kag.config.configVisible=="true"){
$(".button_menu").show();
}
});
layer_menu.find(".menu_window_close").click(function(e){
@@ -72,7 +74,9 @@ tyrano.plugin.kag.menu ={
that.kag.layer.hideMessageLayers();
layer_menu.hide();
$(".button_menu").show();
if(that.kag.config.configVisible=="true"){
$(".button_menu").show();
}
});
@@ -138,8 +142,9 @@ tyrano.plugin.kag.menu ={
var layer_menu = that.kag.layer.getMenuLayer();
layer_menu.hide();
layer_menu.empty();
$(".button_menu").show();
if(that.kag.config.configVisible=="true"){
$(".button_menu").show();
}
}) ;
});
@@ -312,8 +317,9 @@ tyrano.plugin.kag.menu ={
var layer_menu = that.kag.layer.getMenuLayer();
layer_menu.hide();
layer_menu.empty();
$(".button_menu").show();
if(that.kag.config.configVisible=="true"){
$(".button_menu").show();
}
}) ;
});
@@ -413,7 +419,9 @@ tyrano.plugin.kag.menu ={
layer_menu.find(".menu_close").click(function(e){
layer_menu.hide();
$(".button_menu").show();
if(that.kag.config.configVisible=="true"){
$(".button_menu").show();
}
//that.kag.ftag.nextOrder();
@@ -486,7 +494,9 @@ tyrano.plugin.kag.menu ={
layer_menu.find(".menu_close").click(function(){
layer_menu.hide();
$(".button_menu").show();
if(that.kag.config.configVisible=="true"){
$(".button_menu").show();
}
});
var log_str = "";
@@ -253,6 +253,7 @@ tyrano.plugin.kag.tag.showmenubutton ={
start:function(pm){
$(".button_menu").show();
this.kag.config.configVisible="true";
this.kag.ftag.nextOrder();
}
@@ -282,6 +283,7 @@ tyrano.plugin.kag.tag.hidemenubutton ={
start:function(pm){
$(".button_menu").hide();
this.kag.config.configVisible="false";
this.kag.ftag.nextOrder();
}

0 comments on commit f408ca7

Please sign in to comment.