Skip to content

Commit 9e657c7

Browse files
committed
fix: shows mid and right label when the array turns all red
1 parent 3a4042f commit 9e657c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/algorithms/controllers/msort_arr_bup.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ export function run_msort() {
325325

326326
assignVarToA(vis, 'left', undefined, size); // ap1 replaces left
327327
assignVarToA(vis, 'ap1', c_ap1, size);
328+
assignVarToA(vis, 'mid', c_mid, size);
329+
assignVarToA(vis, 'right', c_right, size);
328330

329331
}
330332
}, [A, ap1, left, mid, right, runlength]);

0 commit comments

Comments
 (0)