Skip to content

Commit

Permalink
2.0.4 自動名前色強制パラメータで、#から始まるカラーコードを無視できない不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
elleonard committed Jun 2, 2023
1 parent 06c9ef5 commit 33d2296
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/codes/NameWindow/DarkPlasma_NameWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function Window_Message_NameWindowMixIn(windowClass: Window_Message) {
let target = speaker[1].replace('\x1b}', '');
const eraseTarget = target;
if (settings.forceAutoNameColor) {
target = target.replace(/\x1bC\[(#?[0-9]*)\]/gi, '');
target = target.replace(/\x1bC\[(#?[0-9a-fA-F]*)\]/gi, '');
}
const speakerNames = target.split('&');
const speakerNameString = speakerNames
Expand Down
3 changes: 3 additions & 0 deletions src/codes/NameWindow/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ DarkPlasma_NameWindow:
year: 2020
license: MIT
histories:
- date: 2023/06/02
version: 2.0.4
description: '自動名前色強制パラメータで、#から始まるカラーコードを無視できない不具合を修正'
- date: 2023/05/15
version: 2.0.3
description: 'プラグインパラメータの型を変更'
Expand Down

0 comments on commit 33d2296

Please sign in to comment.