mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Fallback to X in non-graphing apps since x and n are not usable.
This commit is contained in:
committed by
EmilieNumworks
parent
128a6acb32
commit
dcbc860b6d
@@ -86,4 +86,8 @@ Context * App::localContext() {
|
||||
return TextFieldDelegateApp::localContext();
|
||||
}
|
||||
|
||||
const char * App::XNT() {
|
||||
return "x";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ public:
|
||||
* use a temporary local context (on the stack). That way, we avoid keeping
|
||||
* weird x values after drawing curves or displaying the value table. */
|
||||
Poincare::Context * localContext() override;
|
||||
const char * XNT() override;
|
||||
private:
|
||||
App(Container * container, Snapshot * snapshot);
|
||||
Poincare::VariableContext<float> m_xContext;
|
||||
|
||||
@@ -22,7 +22,7 @@ AppsContainer * TextFieldDelegateApp::container() {
|
||||
}
|
||||
|
||||
const char * TextFieldDelegateApp::XNT() {
|
||||
return "x";
|
||||
return "X";
|
||||
}
|
||||
|
||||
const char * TextFieldDelegateApp::privateXNT(TextField * textField) {
|
||||
|
||||
Reference in New Issue
Block a user