mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/shared/sum_graph_controller] In LegendView::setSumLayout, factor m_sum.setAlignment
This commit is contained in:
committed by
LeaNumworks
parent
6b527d3b00
commit
24fa8b28a9
@@ -222,11 +222,7 @@ void SumGraphController::LegendView::setSumLayout(Step step, double start, doubl
|
||||
LayoutHelper::String(buffer, strlen(buffer), k_font));
|
||||
}
|
||||
m_sum.setLayout(sumLayout);
|
||||
if (step == Step::Result) {
|
||||
m_sum.setAlignment(0.5f, 0.5f);
|
||||
} else {
|
||||
m_sum.setAlignment(0.0f, 0.5f);
|
||||
}
|
||||
m_sum.setAlignment(0.5f * (step == Step::Result), 0.5f);
|
||||
layoutSubviews(step, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user