Users with the latest build may notice that the graphical Overview Boxes may not be shrinking or resizing when a smart label within them degrades.
Description:
Previously degrade would cause the label to "hide" completely, which caused the viewer to reload, which in-turn would cause the performance to be a lot slower when loading or viewing graphics. The performance update changed that so that labels would only degrade their alpha (as opposed to going completely invisible) which has greatly increased graphic performance. Due to this change, overview boxes would no longer resize or shrink when a label within them goes into "degrade".
How to revert back to previous Degrade Behavior
As a solution to this, we added logic so that if a graphics "world" property contains a 'hideOnDegrade' tag, it would revert to the old "hide on degrade" behavior for that particular graphic, allowing for overview boxes to adjust themselves anytime a smart label within them would degrade.
Manually (Individually)
- Open your graphic
- Go to your right menu and select "apply batch tags"
- As your target filter, type in 'world'
- In your tag filter, add the tag 'hideOnDegrade'
Automatically (Batch)
- Go to Folio app
- Create a snapshot backup of your database
- Restore the following function: DOWNLOAD
- Open up legacy folio
- Run the function: hideOnDegrade()
- Check your graphics
- Open up a few graphics and make sure there are no UI problems.
- If all is well, you're good to go - if you see some issues, you can delete the extra components (rare), or revert back to your previous snapshot.
- NOTE: If you want to adjust the function, you can go to the funcs app and alter the function filter so that it only applies 'hideOnDegrade' to select graphics. (Contact support@j2inn.com if you are not sure how to do this, or need assistance.)
This function may cause certain extra models to duplicate in a graphic. If you have a large amount of graphics, make absolutely sure you do a snapshot/backup before running the function
Once you've run the function, check a few graphics in the viewer and open a few of them in the builder to see if there's any unneeded duplications in your graphics. This only happens on rare occasions, so it is not likely that it will occur, but if it does, you can just delete the extra models, or you can revert back to your previous snapshot and do it manually.