2021-19-03

SM.Base:
~ Improved Keyboard.AreSpecificKeysPressed(int, int)
~ Made GenericTransformation.LastMaster's set public
~ Made the fixed update use the property "IsExiting" to determent if it should stop.
~ The MainFramebuffer of each RenderPipeline now has always a name.

SM2D:
~ Moved the checking code of Mouse2D.MouseOver into a own method.
This commit is contained in:
Michel Fedde 2021-03-19 09:31:36 +01:00
parent c8db1ce8bc
commit 71a22df8bd
7 changed files with 31 additions and 18 deletions

View file

@ -82,7 +82,7 @@ namespace SM.Base.Controls
throw new ArgumentException("The startIndex is greater than the endIndex.", nameof(startIndex));
int length = endIndex - startIndex;
for (int i = 0; i < length; i++)
for (int i = 0; i < length + 1; i++)
{
int actualIndex = i + startIndex;
Key key = (Key) actualIndex;
@ -136,7 +136,7 @@ namespace SM.Base.Controls
bool success = false;
List<Key> keys = new List<Key>();
for (int i = 0; i < length; i++)
for (int i = 0; i < length + 1; i++)
{
int actualIndex = i + startIndex;
Key key = (Key) actualIndex;