mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
improve to_json(StyleP)
This commit is contained in:
@@ -127,7 +127,7 @@ void LineLayout::reflect(GetMember& handler) const {
|
||||
REFLECT(top);
|
||||
REFLECT(height);
|
||||
REFLECT_N("bottom", bottom());
|
||||
REFLECT_N("middle", top + height/2);
|
||||
REFLECT_N("middle", middle());
|
||||
if (type > Type::LINE) REFLECT(lines);
|
||||
if (type > Type::PARAGRAPH) REFLECT(paragraphs);
|
||||
if (type > Type::BLOCK) REFLECT(blocks);
|
||||
|
||||
Reference in New Issue
Block a user