mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/shared] Apply changes on confirm with GoTo functions
Change-Id: I6ebec412b4b6612710476274a8665375d21f9ef8
This commit is contained in:
committed by
LeaNumworks
parent
61792058d3
commit
5c75cc55d3
@@ -30,7 +30,7 @@ const char * GoToParameterController::title() {
|
||||
return I18n::translate(I18n::Message::YPrediction);
|
||||
}
|
||||
|
||||
double GoToParameterController::parameterAtIndex(int index) {
|
||||
double GoToParameterController::extractParameterAtIndex(int index) {
|
||||
assert(index == 0);
|
||||
if (m_xPrediction) {
|
||||
return m_cursor->x();
|
||||
@@ -38,7 +38,7 @@ double GoToParameterController::parameterAtIndex(int index) {
|
||||
return m_cursor->y();
|
||||
}
|
||||
|
||||
bool GoToParameterController::setParameterAtIndex(int parameterIndex, double f) {
|
||||
bool GoToParameterController::confirmParameterAtIndex(int parameterIndex, double f) {
|
||||
assert(parameterIndex == 0);
|
||||
int series = m_graphController->selectedSeriesIndex();
|
||||
Poincare::Context * globContext = AppsContainer::sharedAppsContainer()->globalContext();
|
||||
|
||||
Reference in New Issue
Block a user