ohcnetwork / care_fe

Care is a Digital Public Good enabling TeleICU & Decentralised Administration of Healthcare Capacity across States.
https://care.ohc.network
MIT License
252 stars 435 forks source link

Camera Preset Not Resetting to Defined Position on Re-selection #9135

Open nihal467 opened 5 hours ago

nihal467 commented 5 hours ago

Describe the bug

When selecting a preset in the camera feed on the patient consultation page, manually adjusting the camera position, and then clicking on the same preset again, the camera does not reset to the preset location as expected.

To Reproduce Steps to reproduce the behavior:

  1. Navigate to the Patient tab.
  2. Search for the patient "Gigin" and click on their card.
  3. Go to the Feed page and set a camera preset.
  4. Manually move the camera to a different position.
  5. Click on the same preset again.
  6. Observe the issue.

Expected behavior

Clicking on the same preset should reset the camera feed to the preset's defined position.

Screenshots

Image

github-actions[bot] commented 5 hours ago

:warning: Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed.