mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/shared] In go to parameter controller, center window at the same
time, the cursor is changed Change-Id: Ieece94131d0bf319078d36fcfe66c2bb58d0279d
This commit is contained in:
@@ -7,8 +7,8 @@ namespace Shared {
|
||||
GoToParameterController::GoToParameterController(Responder * parentResponder, InteractiveCurveViewRange * graphRange, CurveViewCursor * cursor, I18n::Message symbol) :
|
||||
FloatParameterController(parentResponder),
|
||||
m_cursor(cursor),
|
||||
m_abscisseCell(nullptr),
|
||||
m_graphRange(graphRange),
|
||||
m_abscisseCell(nullptr),
|
||||
m_abscissaSymbol(symbol)
|
||||
{
|
||||
}
|
||||
@@ -27,8 +27,6 @@ int GoToParameterController::reusableParameterCellCount(int type) {
|
||||
}
|
||||
|
||||
void GoToParameterController::buttonAction() {
|
||||
m_graphRange->centerAxisAround(CurveViewRange::Axis::X, m_cursor->x());
|
||||
m_graphRange->centerAxisAround(CurveViewRange::Axis::Y, m_cursor->y());
|
||||
StackViewController * stack = (StackViewController *)parentResponder();
|
||||
stack->pop();
|
||||
stack->pop();
|
||||
|
||||
Reference in New Issue
Block a user