Stop embedding Tomo boxes #7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Embedding boxes directly into the object structs exposes too much and can cause breakage. It also has the side effect of the objects fulfilling tomo.Box which can introduce other problems. Objects should encapsulate their box and only expose what they need to.
As a counter argument: the issues are mainly due to themes setting attributes on boxes that conflict with manually set ones. Once Tomo transitions fully to data-driven theming that is simply overridden by manually set attributes, this will be less of an issue. Additionally, if an attribute needs to be encapsulated/controlled, the objects can override the setter.
Stop embedding Tomo boxesto Stop embedding Tomo boxes?Stop embedding Tomo boxes?to Stop embedding Tomo boxesChanges in Tomo 0.40.0-present have made this both viable and desirable
This took an ENTIRE DAY!!!