danoniplus 39.8.20 → 39.8.21

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 +16 -16
  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 : 2026/03/20
7
+ * Revised : 2026/03/26
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 39.8.20`;
12
- const g_revisedDate = `2026/03/20`;
11
+ const g_version = `Ver 39.8.21`;
12
+ const g_revisedDate = `2026/03/26`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -7163,7 +7163,9 @@ const keyConfigInit = (_kcType = g_kcType) => {
7163
7163
  createDescDiv(`kcDesc`, g_lblNameObj.kcDesc.split(`{0}`).join(g_kCd[C_KEY_RETRY])
7164
7164
  .split(`{1}:`).join(g_isMac ? `` : `Delete:`)),
7165
7165
 
7166
- createDescDiv(`kcShuffleDesc`, g_headerObj.shuffleUse ? g_lblNameObj.kcShuffleDesc : g_lblNameObj.kcNoShuffleDesc),
7166
+ createDescDiv(`kcShuffleDesc`,
7167
+ g_headerObj.shuffleUse && g_settings.shuffles.filter(val => val.endsWith(`+`)).length > 0
7168
+ ? g_lblNameObj.kcShuffleDesc : g_lblNameObj.kcNoShuffleDesc),
7167
7169
  );
7168
7170
 
7169
7171
  // キーの一覧を表示
@@ -7947,12 +7949,17 @@ const keyConfigInit = (_kcType = g_kcType) => {
7947
7949
  // また、直前と同じキーを押した場合(BackSpaceを除く)はキー操作を無効にする
7948
7950
  const disabledKeys = [240, 242, 243, 244, 91, 29, 28, 27, 259, g_prevKey];
7949
7951
 
7952
+ if (g_localeObj.val === `Ja`) {
7953
+ disabledKeys.unshift(229);
7954
+ }
7955
+ if (disabledKeys.includes(setKey) || g_kCdN[setKey] === undefined) {
7956
+ makeInfoWindow(g_msgInfoObj.I_0002, `fadeOut0`);
7957
+ return;
7958
+ } else if ((keyIsDown(g_kCdNameObj.metaLKey) || keyIsDown(g_kCdNameObj.metaRKey)) && keyIsShift()) {
7959
+ return;
7960
+ }
7950
7961
  if (selectedKc === `TitleBack` || selectedKc === `Retry`) {
7951
7962
  // プレイ中ショートカットキー変更
7952
- if (disabledKeys.includes(setKey) || g_kCdN[setKey] === undefined) {
7953
- makeInfoWindow(g_msgInfoObj.I_0002, `fadeOut0`);
7954
- return;
7955
- }
7956
7963
  g_headerObj[`key${selectedKc}`] = setKey;
7957
7964
  g_headerObj[`key${selectedKc}Def`] = setKey;
7958
7965
  document.getElementById(`sc${selectedKc}`).textContent = getScMsg[selectedKc]();
@@ -7967,14 +7974,7 @@ const keyConfigInit = (_kcType = g_kcType) => {
7967
7974
  return;
7968
7975
  }
7969
7976
 
7970
- if (g_localeObj.val === `Ja`) {
7971
- disabledKeys.unshift(229);
7972
- }
7973
- if (disabledKeys.includes(setKey) || g_kCdN[setKey] === undefined) {
7974
- makeInfoWindow(g_msgInfoObj.I_0002, `fadeOut0`);
7975
- return;
7976
- } else if ((setKey === C_KEY_TITLEBACK && g_currentk === 0) ||
7977
- ((keyIsDown(g_kCdNameObj.metaLKey) || keyIsDown(g_kCdNameObj.metaRKey)) && keyIsShift())) {
7977
+ if (setKey === C_KEY_TITLEBACK && g_currentk === 0) {
7978
7978
  return;
7979
7979
  }
7980
7980
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "39.8.20",
3
+ "version": "39.8.21",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {