Skip to content

Commit

Permalink
Fixed ability to control the line when panel is solved.
Browse files Browse the repository at this point in the history
v1.0.7
  • Loading branch information
SerGreen committed Oct 6, 2017
1 parent 3ae1894 commit 7736c53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion TWP Android/Properties/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sergreen.thewitnesspuzzles" android:versionName="1.0.6" android:installLocation="preferExternal" android:versionCode="7">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sergreen.thewitnesspuzzles" android:versionName="1.0.7" android:installLocation="preferExternal" android:versionCode="8">
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="25" />
<application android:label="The Witness Puzzles" android:icon="@drawable/Icon"></application>
</manifest>
4 changes: 2 additions & 2 deletions TWP Desktop/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.5.0")]
[assembly: AssemblyFileVersion("1.0.5.0")]
[assembly: AssemblyVersion("1.0.7.0")]
[assembly: AssemblyFileVersion("1.0.7.0")]
2 changes: 1 addition & 1 deletion TWP Shared/GameScreens/PanelScreen/PanelGameScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ private void SetPanelSuccess()
}
private void MoveLine(Vector2 moveVector)
{
if (moveVector != Vector2.Zero && line != null && !panelState.State.HasFlag(PanelStates.EliminationStarted))
if (moveVector != Vector2.Zero && line != null && !panelState.State.HasFlag(PanelStates.EliminationStarted) && !panelState.State.HasFlag(PanelStates.Solved))
{
Vector2 firstMove, secondMove;
if (Math.Abs(moveVector.X) > Math.Abs(moveVector.Y))
Expand Down

0 comments on commit 7736c53

Please sign in to comment.