Skip to content

Commit

Permalink
Fixed incorrect cursor being shown over total candies per second
Browse files Browse the repository at this point in the history
  • Loading branch information
TollyH committed Feb 22, 2022
1 parent 3d50ba0 commit 2830823
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 19 deletions.
2 changes: 1 addition & 1 deletion App.xaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Candy Clicker ver. 1.1.0
Candy Clicker ver. 1.1.1
Copyright © 2021-2022 Ptolemy Hill
-->
<Application x:Class="CandyClicker.App"
Expand Down
8 changes: 1 addition & 7 deletions App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
/*
* Candy Clicker ver. 1.1.0
* Candy Clicker ver. 1.1.1
* Copyright © 2021-2022 Ptolemy Hill
*/

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace CandyClicker
Expand Down
6 changes: 3 additions & 3 deletions CandyClicker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<Description>A simple candy clicking game written in C# and WPF</Description>
<Copyright>Copyright © 2021-2022 Ptolemy Hill</Copyright>
<NeutralLanguage>en-GB</NeutralLanguage>
<AssemblyVersion>1.1.0</AssemblyVersion>
<FileVersion>1.1.0</FileVersion>
<Version>1.1.0</Version>
<AssemblyVersion>1.1.1</AssemblyVersion>
<FileVersion>1.1.1</FileVersion>
<Version>1.1.1</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
2 changes: 1 addition & 1 deletion CustomiseWindow.xaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Candy Clicker ver. 1.1.0
Candy Clicker ver. 1.1.1
Copyright © 2021-2022 Ptolemy Hill
-->
<Window x:Class="CandyClicker.CustomiseWindow"
Expand Down
2 changes: 1 addition & 1 deletion CustomiseWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Candy Clicker ver. 1.1.0
* Candy Clicker ver. 1.1.1
* Copyright © 2021-2022 Ptolemy Hill
*/
using Microsoft.Win32;
Expand Down
4 changes: 2 additions & 2 deletions MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Candy Clicker ver. 1.1.0
Candy Clicker ver. 1.1.1
Copyright © 2021-2022 Ptolemy Hill
-->
<Window x:Name="windowCandyClicker" x:Class="CandyClicker.MainWindow"
Expand All @@ -19,7 +19,7 @@
<TextBlock x:Name="textBlockPerSecond" Text="{Binding CandyPerSecond, ElementName=windowCandyClicker, FallbackValue=+X\,XXX/s, StringFormat=+\{0:N0\}/s, TargetNullValue=0}" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="5,50,10,5" FontSize="18" FontWeight="Bold" Foreground="{DynamicResource MainForeground}" FontFamily="{StaticResource mikachan}"/>
<TextBlock x:Name="textBlockReincarnated" Text="{Binding CandyPSReincarnationMultiplier, ElementName=windowCandyClicker, FallbackValue=(xXX/s), StringFormat=(x\{0:N0\}/s), TargetNullValue=1}" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,73,10,0" FontSize="18" FontWeight="Bold" Foreground="{DynamicResource MainForeground}" FontFamily="{StaticResource mikachan}" Visibility="Hidden" TextAlignment="Center"/>
<TextBlock x:Name="textBlockClicksPerSecond" Text="0.0 CPS" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,73,0,0" FontSize="18" FontWeight="Bold" Foreground="{DynamicResource MainForeground}" FontFamily="{StaticResource mikachan}"/>
<RichTextBox x:Name="richTextBoxCandiesPerSecond" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,50,0,0" FontSize="18" FontWeight="Bold" Foreground="{DynamicResource MainForeground}" FontFamily="{StaticResource mikachan}" BorderThickness="0,0,0,0" Background="{x:Null}" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" SelectionTextBrush="{x:Null}" IsReadOnly="True" IsUndoEnabled="False" AutoWordSelection="False" AcceptsReturn="False">
<RichTextBox x:Name="richTextBoxCandiesPerSecond" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,50,0,0" FontSize="18" FontWeight="Bold" Foreground="{DynamicResource MainForeground}" FontFamily="{StaticResource mikachan}" BorderThickness="0,0,0,0" Background="{x:Null}" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" SelectionTextBrush="{x:Null}" IsReadOnly="True" IsUndoEnabled="False" AutoWordSelection="False" AcceptsReturn="False" Cursor="Arrow">
<FlowDocument x:Name="flowDocumentCandiesPerSecond">
<Paragraph x:Name="paragraphCandiesPerSecond" TextAlignment="Center">
<Run x:Name="runCandiesPerSecond" Text="0"/>
Expand Down
2 changes: 1 addition & 1 deletion MainWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Candy Clicker ver. 1.1.0
* Candy Clicker ver. 1.1.1
* Copyright © 2021-2022 Ptolemy Hill
*/
using System;
Expand Down
2 changes: 1 addition & 1 deletion Shop.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Candy Clicker ver. 1.1.0
* Candy Clicker ver. 1.1.1
* Copyright © 2021-2022 Ptolemy Hill
*/
namespace CandyClicker
Expand Down
2 changes: 1 addition & 1 deletion ShopControl.xaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Candy Clicker ver. 1.1.0
Candy Clicker ver. 1.1.1
Copyright © 2021-2022 Ptolemy Hill
-->
<UserControl x:Name="userControlShopItem" x:Class="CandyClicker.ShopControl"
Expand Down
2 changes: 1 addition & 1 deletion ShopControl.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Candy Clicker ver. 1.1.0
* Candy Clicker ver. 1.1.1
* Copyright © 2021-2022 Ptolemy Hill
*/
using System;
Expand Down

0 comments on commit 2830823

Please sign in to comment.