mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
[sequence] Fix u(0), u(1) layout in sequence list
This commit is contained in:
committed by
LeaNumworks
parent
7e9b4c1a60
commit
3a29f086a0
@@ -264,7 +264,7 @@ Poincare::ExpressionLayout * Sequence::firstInitialConditionName() {
|
||||
{
|
||||
ExpressionLayout * indexLayout = LayoutEngine::createStringLayout(buffer, strlen(buffer), KDText::FontSize::Small);
|
||||
m_firstInitialConditionName = new HorizontalLayout(
|
||||
new CharLayout(name()[0], KDText::FontSize::Small),
|
||||
new CharLayout(name()[0], KDText::FontSize::Large),
|
||||
new VerticalOffsetLayout(indexLayout, VerticalOffsetLayout::Type::Subscript, false),
|
||||
false);
|
||||
}
|
||||
@@ -278,7 +278,7 @@ Poincare::ExpressionLayout * Sequence::secondInitialConditionName() {
|
||||
if (m_type == Type::DoubleRecurrence) {
|
||||
ExpressionLayout * indexLayout = LayoutEngine::createStringLayout(buffer, strlen(buffer), KDText::FontSize::Small);
|
||||
m_secondInitialConditionName = new HorizontalLayout(
|
||||
new CharLayout(name()[0], KDText::FontSize::Small),
|
||||
new CharLayout(name()[0], KDText::FontSize::Large),
|
||||
new VerticalOffsetLayout(indexLayout, VerticalOffsetLayout::Type::Subscript, false),
|
||||
false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user