Skip to content

Commit

Permalink
glipyタグでfix=falseの場合アイコンが反映されない不具合の修正
Browse files Browse the repository at this point in the history
  • Loading branch information
ShikemokuMK committed Jul 26, 2021
1 parent a45472d commit b49eb7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Binary file added tyrano/images/system/nextpage2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions tyrano/plugins/kag/kag.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ tyrano.plugin.kag ={
f_chara_ptext:"false",

flag_glyph : "false", //クリック待ちボタンが指定されているか否か
path_glyph : "nextpage.gif", //glyph画像ファイル名

current_cursor:"auto", //現在のカーソル指定

//表示フォント指定
Expand Down
5 changes: 4 additions & 1 deletion tyrano/plugins/kag/kag.tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ tyrano.plugin.kag.ftag = {
if (this.kag.stat.flag_glyph == "false") {
$(".img_next").remove();
var jtext = this.kag.getMessageInnerLayer()
jtext.find("p").append("<img class='img_next' src='./tyrano/images/system/nextpage.gif' />");
jtext.find("p").append("<img class='img_next' src='./tyrano/images/system/"+this.kag.stat.path_glyph+"' />");

} else {
$(".glyph_image").show();
Expand Down Expand Up @@ -4641,6 +4641,9 @@ tyrano.plugin.kag.tag.glyph = {
} else {

this.kag.stat.flag_glyph = "false";
this.kag.stat.path_glyph = pm.line;



}

Expand Down

0 comments on commit b49eb7c

Please sign in to comment.