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;
case SURD_MODE:
calc.exactMode = !calc.exactMode;
result.clear();
currentStep = 0;
Keyboard.keyPressed(Key.SIMPLIFY);
if (!result.isContentEmpty()) {
result.clear();
currentStep = 0;
Keyboard.keyPressed(Key.SIMPLIFY);
}
return true;
case debug1:
Engine.INSTANCE.getHardwareDevice().getDisplayManager().setScreen(new EmptyScreen());

View File

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