Skip to content

Instantly share code, notes, and snippets.

@amuhororo
Created March 24, 2018 02:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amuhororo/93173c5d677061f72a3fde0cb5c803e4 to your computer and use it in GitHub Desktop.
Save amuhororo/93173c5d677061f72a3fde0cb5c803e4 to your computer and use it in GitHub Desktop.
TIP詳細を右クリックで1段階ずつ閉じる感じ
tyrano.plugin.kag.key_mouse.hidemessage = function() {
if (this.canShowMenu()) {
if ($("#tip_wrap").length) {
$(".tip_close_button").click();
} else if ($(".menu_close").size() > 0 && $(".layer_menu").css("display") != "none") {
$(".menu_close").click();
} else {
if (!this.kag.stat.is_strong_stop) {
if (this.kag.stat.is_hide_message) {
this.kag.layer.showMessageLayers();
} else {
this.kag.ftag.startTag("hidemessage");
}
}
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment