danoniplus 45.5.7 → 45.5.9

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.
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 : 2026/03/26
7
+ * Revised : 2026/04/05
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 45.5.7`;
12
- const g_revisedDate = `2026/03/26`;
11
+ const g_version = `Ver 45.5.9`;
12
+ const g_revisedDate = `2026/04/05`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -4184,9 +4184,10 @@ const headerConvert = _dosObj => {
4184
4184
 
4185
4185
  // ローカルストレージに保存済みのColorType設定からDisplayのColor設定を反映
4186
4186
  if (g_localStorage.colorType !== undefined) {
4187
- g_colorType = g_localStorage.colorType;
4187
+ g_colorType = g_keycons.colorTypes.concat(g_keycons.colorSelf).includes(g_localStorage.colorType)
4188
+ ? g_localStorage.colorType : `Default`;
4188
4189
  if (obj.colorUse) {
4189
- g_stateObj.d_color = boolToSwitch(g_keycons.colorDefTypes.findIndex(val => val === g_colorType) !== -1);
4190
+ g_stateObj.d_color = boolToSwitch(g_keycons.colorDefTypes.includes(g_colorType));
4190
4191
  }
4191
4192
  }
4192
4193
 
@@ -11766,7 +11767,7 @@ const getArrowSettings = () => {
11766
11767
 
11767
11768
  if (g_stateObj.playWindow === `SideScroll`) {
11768
11769
  if (g_stateObj.rotateEnabled) {
11769
- const sign = g_stateObj.playWindowType === `Reverse` ? -1 : 1;
11770
+ const sign = g_stateObj.playWindowType === `Rev` ? -1 : 1;
11770
11771
  changeStepRtn(`stepRtn`, 90 * sign);
11771
11772
  changeStepRtn(`stepHitRtn`, 90 * sign);
11772
11773
  changeStepRtn(`arrowRtn`, 90 * sign);
@@ -15305,7 +15306,7 @@ const getSelectedSettingList = (_shuffleName) => {
15305
15306
  ((g_appearanceRanges.includes(g_stateObj.appearance) && g_stateObj.filterLock === C_FLG_ON) ? `(${g_hidSudObj.filterPos}%)` : ``),
15306
15307
  withOptions(g_stateObj.gauge, g_settings.gauges[0]),
15307
15308
  withOptions(g_stateObj.playWindow, `Default`,
15308
- `${getStgDetailName(g_stateObj.playWindowType === `Reverse` ? `R-` : ``)}${getStgDetailName(g_stateObj.playWindow)}`),
15309
+ `${getStgDetailName(g_stateObj.playWindowType === `Rev` ? `R-` : ``)}${getStgDetailName(g_stateObj.playWindow)}`),
15309
15310
  withOptions(g_stateObj.stepArea, `Default`),
15310
15311
  withOptions(g_stateObj.frzReturn, C_FLG_OFF,
15311
15312
  `FR:${getStgDetailName(g_stateObj.frzReturn)}(${getStgDetailName(g_stateObj.frzReturnType)})`),
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Source by tickle
7
7
  * Created : 2019/11/19
8
- * Revised : 2026/03/15 (v45.5.5)
8
+ * Revised : 2026/03/31 (v45.5.8)
9
9
  *
10
10
  * https://github.com/cwtickle/danoniplus
11
11
  */
@@ -1338,7 +1338,7 @@ const g_settings = {
1338
1338
  playWindows: [`Default`, `Stairs`, `Slope`, `Distorted`, `SideScroll`],
1339
1339
  playWindowNum: 0,
1340
1340
 
1341
- playWindowTypes: [`---`, `Reverse`],
1341
+ playWindowTypes: [`---`, `Rev`],
1342
1342
  playWindowTypeNum: 0,
1343
1343
 
1344
1344
  stepAreas: [`Default`, `Halfway`, `2Step`, `Mismatched`, `R-Mismatched`, `X-Flower`, `Alt-Crossing`],
@@ -1719,7 +1719,7 @@ const motionAlphaToggle = (_obj, _property) => {
1719
1719
  * PlayWindow適用関数
1720
1720
  * - 対応するキー名: g_settings.playWindows
1721
1721
  */
1722
- const g_playWindowDir = () => g_stateObj.playWindowType === `Reverse` ? 1 : -1;
1722
+ const g_playWindowDir = () => g_stateObj.playWindowType === `Rev` ? 1 : -1;
1723
1723
  const g_changeStairs = (_rad) => `rotate(${_rad * g_playWindowDir()}deg)`;
1724
1724
  const g_changeSkew = (_rad) => `Skew(${_rad * g_playWindowDir()}deg, ${_rad * g_playWindowDir()}deg) scaleY(0.9)`;
1725
1725
 
@@ -4445,6 +4445,7 @@ const g_lblNameObj = {
4445
4445
  'u_R-': `R-`,
4446
4446
  'u_---': `---`,
4447
4447
  'u_Reverse': `Reverse`,
4448
+ 'u_Rev': `Reverse`,
4448
4449
 
4449
4450
  'u_Mirror': `Mirror`,
4450
4451
  'u_X-Mirror': `X-Mirror`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "45.5.7",
3
+ "version": "45.5.9",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "./js/danoni_main.js",
6
6
  "jsdelivr": "./js/danoni_main.js",