From 74386a275e5ea3198033b88960b7c3b422bb2783 Mon Sep 17 00:00:00 2001 From: Manvel Saroyan Date: Sat, 8 Jun 2024 21:30:22 +0200 Subject: [PATCH] issue #153 - fixed flashing project elements while play --- src/js/ui/projects.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/js/ui/projects.js b/src/js/ui/projects.js index 491c2c7..561331e 100644 --- a/src/js/ui/projects.js +++ b/src/js/ui/projects.js @@ -251,7 +251,10 @@ async function keepHighlightingPlayingAction(isPopupLoad) if(cbaState.allowPlay || cbaState.paused) { - projectsComp.selectRow(cbaState.playingProjectId); + const selectedItem = projectsComp.getSelectedItem(); + if (selectedItem.id !== cbaState.playingProjectId) { + projectsComp.selectRow(cbaState.playingProjectId); + } if (cbaState.playingActionIndex >= 0) { const {id} = actionsComp.items[cbaState.playingActionIndex];