Changed version to v0.9 and fixed the button SURD_MODE

This commit is contained in:
Andrea Cavalli 2018-09-11 19:36:02 +02:00
parent ada6e552f6
commit f57449c8d4
2 changed files with 6 additions and 4 deletions

View File

@ -393,9 +393,11 @@ public class MathInputScreen extends Screen {
return true; return true;
case SURD_MODE: case SURD_MODE:
calc.exactMode = !calc.exactMode; calc.exactMode = !calc.exactMode;
result.clear(); if (!result.isContentEmpty()) {
currentStep = 0; result.clear();
Keyboard.keyPressed(Key.SIMPLIFY); currentStep = 0;
Keyboard.keyPressed(Key.SIMPLIFY);
}
return true; return true;
case debug1: case debug1:
Engine.INSTANCE.getHardwareDevice().getDisplayManager().setScreen(new EmptyScreen()); Engine.INSTANCE.getHardwareDevice().getDisplayManager().setScreen(new EmptyScreen());

View File

@ -27,7 +27,7 @@
</scm> </scm>
<properties> <properties>
<project.version>0.8-SNAPSHOT</project.version> <project.version>0.9-SNAPSHOT</project.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>