Open GuySie opened 4 years ago
Check if syncing the Meural also updates the current_item? If it does that would work better than reloading the gallery, which causes a visible flicker/change.
Nope, syncing does not update the current_item :( apparently the Canvas itself isn't even aware that it is displaying another item entirely if orientationMatch changes it. Unless Meural fixes this, reloading the gallery is still the best solution.
If orientationMatch is enabled on the Canvas device, the device will automatically switch to an item in the right orientation when the orientation of the device changes. However, the current_item in gallery_status - which we use to detect when we need to get new item details - does not update when this happens. We currently reload the gallery when we detect an orientation change to force an update of current_item, but this can cause flickering or a change in displayed item on the device. It would be preferable to find a way to update current_item that is not visible to the user.