mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-20 22:30:30 +01:00
[shared] Fix SumGraphController
This commit is contained in:
@@ -36,7 +36,7 @@ double IntegralGraphController::cursorNextStep(double x, int direction) {
|
||||
return (direction > 0 ? x + m_graphRange->xGridUnit()/k_numberOfCursorStepsInGradUnit : x - m_graphRange->xGridUnit()/k_numberOfCursorStepsInGradUnit);
|
||||
}
|
||||
|
||||
ExpressionLayout * IntegralGraphController::createFunctionLayout(const char * functionName) {
|
||||
LayoutReference IntegralGraphController::createFunctionLayout(const char * functionName) {
|
||||
char buffer[7] = "0(x)dx";
|
||||
buffer[0] = functionName[0];
|
||||
return LayoutHelper::String(buffer, strlen(buffer), KDText::FontSize::Small);
|
||||
|
||||
Reference in New Issue
Block a user