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
We are working on a simple annotation tool, using your image editor. We specify canvas_size = (612, 612) and at first everything is okay.
However after uploading an image, the canvas shrinks down if the image is too small. The canvas size doesn't matter anymore. We are able to kind of fix it with custom css, but it is messy and uncomfortable to have another redundant file just for this. (The right panel components are invisible at first and when picture is uploaded, they appear)
I spent quite a lot of time trying to figure this out, I couldn't find a better solution.
Describe the bug
We are working on a simple annotation tool, using your image editor. We specify canvas_size = (612, 612) and at first everything is okay.
![image](https://private-user-images.githubusercontent.com/64148083/344384355-e43a126d-3658-4edd-bcaa-5d6744ac9b7c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1NDQ5MzksIm5iZiI6MTcyMDU0NDYzOSwicGF0aCI6Ii82NDE0ODA4My8zNDQzODQzNTUtZTQzYTEyNmQtMzY1OC00ZWRkLWJjYWEtNWQ2NzQ0YWM5YjdjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA5VDE3MDM1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY3ZGE4MzA1NGI4YWY0ODJiY2Q2ZDk1YWY3YzhiYWNmODY1ZWVmYzE0NzhhYjg0MjgzYTlkZGRmNGQ2OGVmYzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.iGx2DpPJe8j6BpDUBt9NIH9aRrDGoLY8at3lT0_gUuY)
![image](https://private-user-images.githubusercontent.com/64148083/344384323-93c57f84-4115-4a4e-a12f-eda964dfa3ea.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1NDQ5MzksIm5iZiI6MTcyMDU0NDYzOSwicGF0aCI6Ii82NDE0ODA4My8zNDQzODQzMjMtOTNjNTdmODQtNDExNS00YTRlLWExMmYtZWRhOTY0ZGZhM2VhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA5VDE3MDM1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRhM2M3YjI1NThhOTA4NGViOGQyYTY3NjFmYTg3MGZjMTFmMDFjZDk3NjY1OWYyY2VhMGMyODRlY2UwMzU2OTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.NQkdSK9PrHSKWDlbkT8Yvb40yBTf3458sUPamSR1XnA)
However after uploading an image, the canvas shrinks down if the image is too small. The canvas size doesn't matter anymore. We are able to kind of fix it with custom css, but it is messy and uncomfortable to have another redundant file just for this. (The right panel components are invisible at first and when picture is uploaded, they appear)
I spent quite a lot of time trying to figure this out, I couldn't find a better solution.
Have you searched existing issues? 🔎
Reproduction
Screenshot
No response
Logs
No response
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: