mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
[solver] EquationListView: clean setBraceStyle to always re-layout
This commit is contained in:
@@ -22,10 +22,10 @@ EquationListView::EquationListView(Responder * parentResponder, TableViewDataSou
|
||||
}
|
||||
|
||||
void EquationListView::setBraceStyle(BraceStyle style) {
|
||||
if (m_braceStyle != style) {
|
||||
m_braceStyle = style;
|
||||
layoutSubviews();
|
||||
}
|
||||
/* Even if the brace style does not change, we want to relayout in case the
|
||||
* size of the braced object has changed. */
|
||||
m_braceStyle = style;
|
||||
layoutSubviews();
|
||||
}
|
||||
|
||||
void EquationListView::scrollViewDidChangeOffset(ScrollViewDataSource * scrollViewDataSource) {
|
||||
|
||||
Reference in New Issue
Block a user