Skip to content

Commit

Permalink
Make media frames visible in pause mode
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Jun 29, 2023
1 parent 31373a2 commit b3aa641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems/bit-media-frames.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export function display(world, physicsSystem, frame, capturedEid, heldMediaTypes

const guideEid = MediaFrame.guide[frame];
const guideObj = world.eid2obj.get(guideEid);
guideObj.visible = !!(MediaFrame.mediaType[frame] & heldMediaTypes);
guideObj.visible = !!(MediaFrame.mediaType[frame] & heldMediaTypes) || APP.scene.is("frozen");

if (guideObj.visible) {
const capturedEid = world.nid2eid.get(MediaFrame.capturedNid[frame]) || 0;
Expand Down

0 comments on commit b3aa641

Please sign in to comment.