mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-20 14:20:39 +01:00
[apps/shared] Templatize FloatParameterController to handle float/double
parameters. Fix bug: when entering "e^234" as a parameter of a model keeping floats, the FloatParameterController would accept the number (because e^234 is defined in double) and store an undefined value in the model (because e^234 is undefined in float).
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
namespace Shared {
|
||||
|
||||
GoToParameterController::GoToParameterController(Responder * parentResponder, InputEventHandlerDelegate * inputEventHandlerDelegate, InteractiveCurveViewRange * graphRange, CurveViewCursor * cursor, I18n::Message symbol) :
|
||||
FloatParameterController(parentResponder),
|
||||
FloatParameterController<double>(parentResponder),
|
||||
m_cursor(cursor),
|
||||
m_graphRange(graphRange),
|
||||
m_abscisseCell(&m_selectableTableView, inputEventHandlerDelegate, this, symbol)
|
||||
|
||||
Reference in New Issue
Block a user