Skip to content

Instantly share code, notes, and snippets.

@yaqinking
Last active February 13, 2017 05:11
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 yaqinking/d76a683feb4a0582a8ce8399ed9e1f8f to your computer and use it in GitHub Desktop.
Save yaqinking/d76a683feb4a0582a8ce8399ed9e1f8f to your computer and use it in GitHub Desktop.
MainWindow modified version #kag
with (selectLayer) {
var msgoff = false, msgon = false;
if (elm.msgoff) msgoff = true;
else if (elm.msgon ) msgon = true;
else {
msgoff = typeof .msgoff != "undefined" && !!.msgoff;
msgon = typeof .msgon != "undefined" && !!.msgon;
}
if (msgoff) {
kag.fore.messages[float_sys_control_layer_index].setVisibleTime(false, 300);
}
// メッセージ窓の状態を変更
if ((msgoff && setCurrentMessageLayerVisible(false)) ||
(msgon && setCurrentMessageLayerVisible(true))) return -3;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment