mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fix reflection of TextStyle::layout
This commit is contained in:
@@ -99,7 +99,7 @@ void TextStyle::checkContentDependencies(Context& ctx, const Dependency& dep) co
|
||||
|
||||
template <typename T> void reflect_layout(T& handler, const TextStyle& ts) {}
|
||||
template <> void reflect_layout(GetMember& handler, const TextStyle& ts) {
|
||||
REFLECT(ts.layout);
|
||||
REFLECT_N("layout", ts.layout);
|
||||
if (ts.layout) {
|
||||
REFLECT_N("content_width", ts.layout->width);
|
||||
REFLECT_N("content_height", ts.layout->height);
|
||||
|
||||
Reference in New Issue
Block a user