danoniplus 24.6.17 → 24.6.19

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 : 2023/03/22
7
+ * Revised : 2023/05/31
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 24.6.17`;
12
- const g_revisedDate = `2023/03/22`;
11
+ const g_version = `Ver 24.6.19`;
12
+ const g_revisedDate = `2023/05/31`;
13
13
  const g_alphaVersion = ``;
14
14
 
15
15
  // カスタム用バージョン (danoni_custom.js 等で指定可)
@@ -3382,7 +3382,7 @@ function headerConvert(_dosObj) {
3382
3382
  obj.playingX = setVal(_dosObj.playingX, 0, C_TYP_NUMBER);
3383
3383
 
3384
3384
  // プレイ中クレジットを表示しないエリアのサイズ(X方向)
3385
- obj.customViewWidth = setVal(_dosObj.customViewWidth, 0, C_TYP_FLOAT);
3385
+ obj.customViewWidth = setVal(_dosObj.customViewWidth ?? _dosObj.customCreditWidth, 0, C_TYP_FLOAT);
3386
3386
 
3387
3387
  // ジャストフレームの設定 (ローカル: 0フレーム, リモートサーバ上: 1フレーム以内)
3388
3388
  obj.justFrames = (g_isLocal) ? 0 : 1;
@@ -4132,9 +4132,7 @@ function createOptionWindow(_sprite) {
4132
4132
  setDifficulty(true);
4133
4133
  deleteChildspriteAll(`difList`);
4134
4134
  makeDifList(difList, g_stateObj.filterKeys);
4135
- if (g_keyObj.prevKey !== g_keyObj.currentKey) {
4136
- g_keyObj.prevKey = g_keyObj.currentKey;
4137
- }
4135
+ g_keyObj.prevKey = g_keyObj.currentKey;
4138
4136
  }, {
4139
4137
  x: 430 + _scrollNum * 10, y: 40, w: 20, h: 20, siz: C_SIZ_JDGCNTS,
4140
4138
  }, g_cssObj.button_Mini);
@@ -4195,6 +4193,7 @@ function createOptionWindow(_sprite) {
4195
4193
  if (g_headerObj.difSelectorUse) {
4196
4194
  g_stateObj.filterKeys = ``;
4197
4195
  if (document.querySelector(`#difList`) === null) {
4196
+ g_keyObj.prevKey = g_keyObj.currentKey;
4198
4197
  createDifWindow();
4199
4198
  } else {
4200
4199
  resetDifWindow();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "24.6.17",
3
+ "version": "24.6.19",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {