1
0
mirror of synced 2024-11-12 01:30:52 +01:00

Re-enable negative chart levels

This commit is contained in:
Stepland 2021-12-22 14:21:10 +01:00
parent 84b8e0358f
commit 8aaace30a5
4 changed files with 26 additions and 2 deletions

View File

@ -1,6 +1,12 @@
# Changelog # Changelog
## v1.0.0 ## v1.0.0-rc.2
- **Changed**
- In the chart object, `level` can now be negative, it was mistakenly restricted to being positive in `v1.0.0-rc.1` as a part of turning it into a decimal value
- **Schema bugs**
- `#/$defs/positiveDecimal` allowed for negative number literals, not anymore
## v1.0.0-rc.1
- **Added** - **Added**
- Symbolic times such as `t` and `l` in notes can also now be expressed as a tuple of 3 ints representing a mixed number - Symbolic times such as `t` and `l` in notes can also now be expressed as a tuple of 3 ints representing a mixed number
- Decimal numbers such as the offset or the bpm can now also be stored as strings to make it easier to preserve clean decimal notations - Decimal numbers such as the offset or the bpm can now also be stored as strings to make it easier to preserve clean decimal notations

View File

@ -67,7 +67,7 @@
"properties": { "properties": {
"level": { "level": {
"description": "Level rating of the chart, typically goes from 1 to 10.9 in jubeat", "description": "Level rating of the chart, typically goes from 1 to 10.9 in jubeat",
"$ref": "#/$defs/positiveDecimal" "$ref": "#/$defs/decimal"
}, },
"resolution": { "resolution": {
"description": "Number of ticks in a beat for the notes", "description": "Number of ticks in a beat for the notes",

View File

@ -0,0 +1,9 @@
{
"version": "1.0.0",
"data": {
"a": {
"level": -5,
"notes": []
}
}
}

View File

@ -0,0 +1,9 @@
{
"version": "1.0.0",
"data": {
"a": {
"level": "-0.0",
"notes": []
}
}
}