KeyHandler // Tweaking buildInputtingState().

This commit is contained in:
ShikiSuen 2022-07-22 14:34:21 +08:00
parent cd2baf2c4f
commit f547075228
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ extension KeyHandler {
///
switch compositorCursorIndex {
case compositor.readings.count...:
tooltipParameterRef[0] = compositor.readings[compositor.readings.count - 1]
tooltipParameterRef[0] = compositor.readings[compositorCursorIndex - 1]
case 0:
tooltipParameterRef[1] = compositor.readings[compositorCursorIndex]
default: