diff --git a/Source/Modules/ControllerModules/KeyHandler_Core.swift b/Source/Modules/ControllerModules/KeyHandler_Core.swift index 3eb722d6..161b0455 100644 --- a/Source/Modules/ControllerModules/KeyHandler_Core.swift +++ b/Source/Modules/ControllerModules/KeyHandler_Core.swift @@ -112,7 +112,9 @@ class KeyHandler { // of the best possible Mandarin characters given the input syllables, // using the Viterbi algorithm implemented in the Megrez library. // The walk() traces the grid to the end, hence no need to use .reversed() here. - _walkedNodes = _builder.walk(at: _builder.grid.width, nodesLimit: 10, balanced: true) + _walkedNodes = _builder.walk( + at: _builder.grid.width, nodesLimit: 10, balanced: mgrPrefs.useScoreBalancing + ) } var popOverflowComposingTextAndWalk: String {