Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ver35.2.1] posXの略記記法について下段記法にも対応 他 #1617

Merged
merged 3 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ v33の対応終了時期はv36リリース開始時を予定しています。

| Version | Supported | Latest Version | Logs | First Release | End of Support |
| ------- | ------------------ |----------------|------|---------------|----------------|
| v35 | :heavy_check_mark: |[v35.2.0](https://github.com/cwtickle/danoniplus/releases/tag/v35.2.0) |[:memo:](https://github.com/cwtickle/danoniplus/wiki/Changelog-latest)|2024-01-28|(At Release v38)|
| v35 | :heavy_check_mark: |[v35.2.1](https://github.com/cwtickle/danoniplus/releases/tag/v35.2.1) |[:memo:](https://github.com/cwtickle/danoniplus/wiki/Changelog-latest)|2024-01-28|(At Release v38)|
| v34 :anchor: | :heavy_check_mark: |[v34.7.1](https://github.com/cwtickle/danoniplus/releases/tag/v34.7.1) |[:memo:](https://github.com/cwtickle/danoniplus/wiki/Changelog-v34)|2023-09-24|(At Release v43)|
| v33 | :warning: |[v33.7.6](https://github.com/cwtickle/danoniplus/releases/tag/v33.7.6) |[:memo:](https://github.com/cwtickle/danoniplus/wiki/Changelog-v33)|2023-07-29|(At Release v36)|
| v32 | :x: |[v32.7.7 (final)](https://github.com/cwtickle/danoniplus/releases/tag/v32.7.7) |[:memo:](https://github.com/cwtickle/danoniplus/wiki/Changelog-v32)|2023-05-07|2024-01-28|
Expand Down
8 changes: 5 additions & 3 deletions js/danoni_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* https://github.com/cwtickle/danoniplus
*/
const g_version = `Ver 35.2.0`;
const g_version = `Ver 35.2.1`;
const g_revisedDate = `2024/02/08`;

// カスタム用バージョン (danoni_custom.js 等で指定可)
Expand Down Expand Up @@ -3708,12 +3708,14 @@ const keysConvert = (_dosObj, { keyExtraList = _dosObj.keyExtraList?.split(`,`)
*/
const toFloatStr = _str => {
const nums = _str?.split(`...`);
const [startN, endN] = [parseFloat(nums[0]), parseFloat(nums[1])];
const bottomMark = nums[0].startsWith(`b`) ? `b` : ``;
const [startN, endN] = [parseFloat(bottomMark === `b` ? nums[0].slice(1) : nums[0]), parseFloat(nums[1])];

if (nums.length === 2 && !isNaN(startN) && !isNaN(endN)) {
const endN2 = nums[1].startsWith(`+`) ? startN + endN : endN;
const arr = [];
for (let k = startN; k <= endN2; k++) {
arr.push(k);
arr.push(`${bottomMark}${k}`);
}
return arr.join(`,`);
} else {
Expand Down
2 changes: 1 addition & 1 deletion js/lib/danoni_constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Source by tickle
* Created : 2019/11/19
* Revised : 2024/02/08 (v35.2.0)
* Revised : 2024/02/08 (v35.2.1)
*
* https://github.com/cwtickle/danoniplus
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "danoniplus",
"version": "35.2.0",
"version": "35.2.1",
"description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
"main": "index.js",
"scripts": {
Expand Down
Loading