Update to version 2.2.0-alpha-5 and adjust octave display logic in KeyboardComponent
This commit is contained in:
@@ -10,7 +10,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "nl.astraeus"
|
||||
version = "2.2.0-alpha-4"
|
||||
version = "2.2.0-alpha-5"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
@@ -164,7 +164,8 @@ class KeyboardComponent(
|
||||
|
||||
div(KeyboardOctaveCls.name) {
|
||||
// Show current octave the piano is being played at
|
||||
+"Octave: $octave"
|
||||
// minus one to keep it in line with custom notes ranges
|
||||
+"Octave: ${octave -1}"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user