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
When providing a new path for an image, the image widget will load the picture, but the size will stay the same as the previous image until changing the window size as seen below:
Before
After
After digging around a bit, it seems to be an issue with the way the image widget is cached. Simply adding self.path.hash(state) to the hash_layout method like below fixes it.
When providing a new path for an image, the image widget will load the picture, but the size will stay the same as the previous image until changing the window size as seen below:
Before
After
After digging around a bit, it seems to be an issue with the way the image widget is cached. Simply adding
self.path.hash(state)
to thehash_layout
method like below fixes it.Seems like a trivial fix to me, so if it looks good to you, I can throw up a PR.
The text was updated successfully, but these errors were encountered: