Skip to content

Commit

Permalink
issue #153 - fixed flashing project elements while play
Browse files Browse the repository at this point in the history
  • Loading branch information
Manvel committed Jun 8, 2024
1 parent be7b1b9 commit b137127
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/js/ui/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit b137127

Please sign in to comment.