danoniplus 29.4.4 → 29.4.5

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/04/26
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 29.4.4`;
12
- const g_revisedDate = `2023/03/22`;
11
+ const g_version = `Ver 29.4.5`;
12
+ const g_revisedDate = `2023/04/26`;
13
13
  const g_alphaVersion = ``;
14
14
 
15
15
  // カスタム用バージョン (danoni_custom.js 等で指定可)
@@ -4229,9 +4229,7 @@ const createOptionWindow = _sprite => {
4229
4229
  setDifficulty(true);
4230
4230
  deleteChildspriteAll(`difList`);
4231
4231
  makeDifList(difList, g_stateObj.filterKeys);
4232
- if (g_keyObj.prevKey !== g_keyObj.currentKey) {
4233
- g_keyObj.prevKey = g_keyObj.currentKey;
4234
- }
4232
+ g_keyObj.prevKey = g_keyObj.currentKey;
4235
4233
  }, {
4236
4234
  x: 430 + _scrollNum * 10, y: 40, w: 20, h: 20, siz: C_SIZ_JDGCNTS,
4237
4235
  }, g_cssObj.button_Mini);
@@ -4270,7 +4268,7 @@ const createOptionWindow = _sprite => {
4270
4268
  let pos = 0;
4271
4269
  g_headerObj.keyLists.forEach((targetKey, m) => {
4272
4270
  difCover.appendChild(
4273
- makeDifLblCssButton(`keyFilter${m}`, `${getKeyName(targetKey)} key`, m + 2.5, _ => {
4271
+ makeDifLblCssButton(`keyFilter${m}`, `${getKeyName(targetKey)} ${getStgDetailName('key')}`, m + 2.5, _ => {
4274
4272
  resetDifWindow();
4275
4273
  g_stateObj.filterKeys = targetKey;
4276
4274
  createDifWindow(targetKey);
@@ -4290,6 +4288,7 @@ const createOptionWindow = _sprite => {
4290
4288
  if (g_headerObj.difSelectorUse) {
4291
4289
  g_stateObj.filterKeys = ``;
4292
4290
  if (document.querySelector(`#difList`) === null) {
4291
+ g_keyObj.prevKey = g_keyObj.currentKey;
4293
4292
  createDifWindow();
4294
4293
  } else {
4295
4294
  resetDifWindow();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "29.4.4",
3
+ "version": "29.4.5",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {