danoniplus 30.1.1 → 30.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/js/danoni_main.js +12 -8
  2. package/package.json +1 -1
package/js/danoni_main.js CHANGED
@@ -4,12 +4,12 @@
4
4
  *
5
5
  * Source by tickle
6
6
  * Created : 2018/10/08
7
- * Revised : 2023/02/14
7
+ * Revised : 2023/02/15
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 30.1.1`;
12
- const g_revisedDate = `2023/02/14`;
11
+ const g_version = `Ver 30.1.2`;
12
+ const g_revisedDate = `2023/02/15`;
13
13
  const g_alphaVersion = ``;
14
14
 
15
15
  // カスタム用バージョン (danoni_custom.js 等で指定可)
@@ -7154,19 +7154,23 @@ const scoreConvert = (_dosObj, _scoreId, _preblankFrame, _dummyNo = ``,
7154
7154
  */
7155
7155
  const getPriorityHeader = _ => {
7156
7156
  const list = [];
7157
+ const anotherKeyFlg = hasVal(g_keyObj[`transKey${_keyCtrlPtn}`]);
7158
+ const addPriorityList = (_type = ``) => {
7159
+ if (anotherKeyFlg) {
7160
+ list.push(`${_type}A`);
7161
+ }
7162
+ list.push(_type);
7163
+ };
7157
7164
  let type = ``;
7158
7165
  if (g_stateObj.scroll !== `---`) {
7159
7166
  type = `Alt`;
7160
7167
  } else if (g_stateObj.reverse === C_FLG_ON) {
7161
7168
  type = `Rev`;
7162
7169
  }
7163
- if (hasVal(g_keyObj[`transKey${_keyCtrlPtn}`])) {
7164
- list.push(`${type}A`);
7165
- }
7166
7170
  if (type !== ``) {
7167
- list.push(type);
7171
+ addPriorityList(type);
7168
7172
  }
7169
- list.push(``);
7173
+ addPriorityList();
7170
7174
 
7171
7175
  return list;
7172
7176
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "30.1.1",
3
+ "version": "30.1.2",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {