Skip to content

Commit

Permalink
set visiblity if canvas isPlaying
Browse files Browse the repository at this point in the history
  • Loading branch information
raclim committed Dec 5, 2024
1 parent c9da841 commit 34febe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/modules/Preview/previewIndex.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const App = () => {
dispatchMessage(payload);
break;
case MessageTypes.COORDINATES_VISIBILITY:
setCoordinatesVisible(payload);
if (isPlaying) setCoordinatesVisible(payload);
break;
default:
break;
Expand Down

0 comments on commit 34febe2

Please sign in to comment.