Skip to content

Commit

Permalink
Time Division Scalar
Browse files Browse the repository at this point in the history
Additionally, corrected a typo in Cursor enum (SizeHorinzontal)
  • Loading branch information
DemoXinMC authored and eXpl0it3r committed Jan 2, 2020
1 parent 4c17abc commit 0b5a9f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/SFML.System/Time.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public struct Time : IEquatable<Time>
/// </summary>
/// <returns>left divided by the right</returns>
////////////////////////////////////////////////////////////
public static Time operator /(Time left, Time right) => FromMicroseconds(left.AsMicroseconds() / right.AsMicroseconds());
public static float operator /(Time left, Time right) => left.AsSeconds() / right.AsSeconds();

////////////////////////////////////////////////////////////
/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/SFML.Window/Cursor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public enum CursorType
/// Mac OS: Yes
/// Linux: Yes
/// </summary>
SizeHorinzontal,
SizeHorizontal,
/// <summary>
/// Vertical double arrow cursor
/// Windows: Yes
Expand Down

0 comments on commit 0b5a9f2

Please sign in to comment.