parent
b231c36539
commit
8e3e8d3e8e
|
@ -176,7 +176,7 @@ void ParseSettings(const std::string& id,
|
||||||
} else if (id == "align") {
|
} else if (id == "align") {
|
||||||
if (value == "start") {
|
if (value == "start") {
|
||||||
settings->text_alignment = TextAlignment::kStart;
|
settings->text_alignment = TextAlignment::kStart;
|
||||||
} else if (value == "center") {
|
} else if (value == "center" || value == "middle") {
|
||||||
settings->text_alignment = TextAlignment::kCenter;
|
settings->text_alignment = TextAlignment::kCenter;
|
||||||
} else if (value == "end") {
|
} else if (value == "end") {
|
||||||
settings->text_alignment = TextAlignment::kEnd;
|
settings->text_alignment = TextAlignment::kEnd;
|
||||||
|
|
Loading…
Reference in New Issue