You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a multi image layout in OSD. What I was wondering is can I set dynamic viewport constraints? As shown on the image, let's say I want to show the user only the second image so he cannot pan over those limits - the bounds could technically also be something else, like two images at once or only parts of the image.
Technically I could use a single image approach but would like to keep the multi layout approach for other reasons.
The text was updated successfully, but these errors were encountered:
...But _setContentBounds is a private function, so it may change or be removed in future versions of OSD. Also there may be unintended consequences.
It seems like we need to bring setHomeBounds back to cover this scenario (and possibly also for #2527). Let me know if you'd be interested in working on that.
I have a multi image layout in OSD. What I was wondering is can I set dynamic viewport constraints? As shown on the image, let's say I want to show the user only the second image so he cannot pan over those limits - the bounds could technically also be something else, like two images at once or only parts of the image.
![Screenshot 2024-05-16 at 12 49 05](https://private-user-images.githubusercontent.com/23618471/331173069-1e40fc14-7c8e-4cb2-b352-347f1ac64a55.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgxMTIwNDYsIm5iZiI6MTcxODExMTc0NiwicGF0aCI6Ii8yMzYxODQ3MS8zMzExNzMwNjktMWU0MGZjMTQtN2M4ZS00Y2IyLWIzNTItMzQ3ZjFhYzY0YTU1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjExVDEzMTU0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAzYjc3Y2Y0YmZjYjQxYWVmZmNmODc3ZWFmY2Y1NzVkMTAwMjI3Y2ZmMjU3OWNiNzI5YjYyMGVmODhlOGZiZGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.B1lHCJCraURV0YCnKYZ3KeMNwVwz7etuTUviD_fYRmY)
Technically I could use a single image approach but would like to keep the multi layout approach for other reasons.
The text was updated successfully, but these errors were encountered: