danoniplus 30.6.1 → 30.6.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.
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 30.6.1`;
12
- const g_revisedDate = `2023/03/22`;
11
+ const g_version = `Ver 30.6.2`;
12
+ const g_revisedDate = `2023/04/26`;
13
13
  const g_alphaVersion = ``;
14
14
 
15
15
  // カスタム用バージョン (danoni_custom.js 等で指定可)
@@ -4319,9 +4319,7 @@ const createOptionWindow = _sprite => {
4319
4319
  setDifficulty(true);
4320
4320
  deleteChildspriteAll(`difList`);
4321
4321
  makeDifList(difList, g_stateObj.filterKeys);
4322
- if (g_keyObj.prevKey !== g_keyObj.currentKey) {
4323
- g_keyObj.prevKey = g_keyObj.currentKey;
4324
- }
4322
+ g_keyObj.prevKey = g_keyObj.currentKey;
4325
4323
  }, {
4326
4324
  x: 430 + _scrollNum * 10, y: 40, w: 20, h: 20, siz: C_SIZ_JDGCNTS,
4327
4325
  }, g_cssObj.button_Mini);
@@ -4360,7 +4358,7 @@ const createOptionWindow = _sprite => {
4360
4358
  let pos = 0;
4361
4359
  g_headerObj.keyLists.forEach((targetKey, m) => {
4362
4360
  difCover.appendChild(
4363
- makeDifLblCssButton(`keyFilter${m}`, `${getKeyName(targetKey)} key`, m + 2.5, _ => {
4361
+ makeDifLblCssButton(`keyFilter${m}`, `${getKeyName(targetKey)} ${getStgDetailName('key')}`, m + 2.5, _ => {
4364
4362
  resetDifWindow();
4365
4363
  g_stateObj.filterKeys = targetKey;
4366
4364
  createDifWindow(targetKey);
@@ -4380,6 +4378,7 @@ const createOptionWindow = _sprite => {
4380
4378
  if (g_headerObj.difSelectorUse) {
4381
4379
  g_stateObj.filterKeys = ``;
4382
4380
  if (document.querySelector(`#difList`) === null) {
4381
+ g_keyObj.prevKey = g_keyObj.currentKey;
4383
4382
  createDifWindow();
4384
4383
  } else {
4385
4384
  resetDifWindow();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "30.6.1",
3
+ "version": "30.6.2",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {