danoniplus 34.6.0 → 34.6.1

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 : 2024/01/07
7
+ * Revised : 2024/01/08
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 34.6.0`;
12
- const g_revisedDate = `2024/01/07`;
11
+ const g_version = `Ver 34.6.1`;
12
+ const g_revisedDate = `2024/01/08`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -4523,7 +4523,7 @@ const makeDifList = (_difList, _targetKey = ``) => {
4523
4523
  _difList.appendChild(makeDifLblCssButton(`dif${k}`, text, k, _ => nextDifficulty(j - g_stateObj.scoreId),
4524
4524
  { btnStyle: (j === g_stateObj.scoreId ? `Setting` : `Default`) }));
4525
4525
  if (j === g_stateObj.scoreId) {
4526
- pos = k + 6 + (g_sHeight - 500) / 50;
4526
+ pos = k + 6.5 * (g_sHeight - 239) / 261;
4527
4527
  curk = k;
4528
4528
  }
4529
4529
  k++;
@@ -4566,6 +4566,7 @@ const createDifWindow = (_key = ``) => {
4566
4566
  setShortcutEvent(g_currentPage);
4567
4567
  const difList = createEmptySprite(optionsprite, `difList`, g_windowObj.difList, g_cssObj.settings_DifSelector);
4568
4568
  const difCover = createEmptySprite(optionsprite, `difCover`, g_windowObj.difCover, g_cssObj.settings_DifSelector);
4569
+ const difFilter = createEmptySprite(difCover, `difFilter`, g_windowObj.difFilter, g_cssObj.settings_DifSelector)
4569
4570
 
4570
4571
  // リスト再作成
4571
4572
  makeDifList(difList, _key);
@@ -4589,18 +4590,18 @@ const createDifWindow = (_key = ``) => {
4589
4590
  // キー別フィルタボタン作成
4590
4591
  let pos = 0;
4591
4592
  g_headerObj.viewKeyLists.forEach((targetKey, m) => {
4592
- difCover.appendChild(
4593
- makeDifLblCssButton(`keyFilter${m}`, `${getKeyName(targetKey)} ${getStgDetailName('key')}`, m + 2.7, _ => {
4593
+ difFilter.appendChild(
4594
+ makeDifLblCssButton(`keyFilter${m}`, `${getKeyName(targetKey)} ${getStgDetailName('key')}`, m, _ => {
4594
4595
  resetDifWindow();
4595
4596
  g_stateObj.filterKeys = targetKey;
4596
4597
  createDifWindow(targetKey);
4597
4598
  }, { w: g_limitObj.difCoverWidth, btnStyle: (g_stateObj.filterKeys === targetKey ? `Setting` : `Default`) })
4598
4599
  );
4599
4600
  if (g_stateObj.filterKeys === targetKey) {
4600
- pos = m + 9;
4601
+ pos = m + 5 * (g_sHeight - 300) / 200;
4601
4602
  }
4602
4603
  });
4603
- difCover.scrollTop = Math.max(pos * g_limitObj.setLblHeight - parseInt(difCover.style.height), 0);
4604
+ difFilter.scrollTop = Math.max(pos * g_limitObj.setLblHeight - parseInt(difFilter.style.height), 0);
4604
4605
 
4605
4606
  multiAppend(optionsprite, makeDifBtn(-1), makeDifBtn());
4606
4607
  };
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Source by tickle
7
7
  * Created : 2019/11/19
8
- * Revised : 2024/01/07 (v34.6.0)
8
+ * Revised : 2024/01/08 (v34.6.1)
9
9
  *
10
10
  * https://github.com/cwtickle/danoniplus
11
11
  */
@@ -186,7 +186,8 @@ const updateWindowSiz = _ => {
186
186
  Object.assign(g_windowObj, {
187
187
  optionSprite: { x: (g_sWidth - 450) / 2, y: 65, w: 450, h: 325 },
188
188
  difList: { x: 165, y: 60, w: 280, h: 261 + g_sHeight - 500, overflow: `auto` },
189
- difCover: { x: 25, y: 60, w: 140, h: 261 + g_sHeight - 500, overflow: `auto`, opacity: 0.95 },
189
+ difCover: { x: 25, y: 60, w: 140, h: 261 + g_sHeight - 500, opacity: 0.95 },
190
+ difFilter: { x: 0, y: 61, w: 140, h: 200 + g_sHeight - 500, overflow: `auto` },
190
191
  displaySprite: { x: 25, y: 30, w: (g_sWidth - 450) / 2, h: g_limitObj.setLblHeight * 5 },
191
192
  scoreDetail: { x: 20, y: 85, w: (g_sWidth - 500) / 2 + 420, h: 236, visibility: `hidden` },
192
193
  detailObj: { w: (g_sWidth - 500) / 2 + 420, h: 230, visibility: `hidden` },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "34.6.0",
3
+ "version": "34.6.1",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {