Skip to content

Commit

Permalink
Revert "Update Rampastring.Tools and Rampastring.XNAUI"
Browse files Browse the repository at this point in the history
This reverts commit 36e111f.
  • Loading branch information
devo1929 committed Jul 21, 2021
1 parent 9d83b24 commit 4adbf5f
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 312 deletions.
25 changes: 14 additions & 11 deletions ClientGUI/XNAChatTextBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
using Rampastring.XNAUI.XNAControls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClientGUI
{
Expand Down Expand Up @@ -43,23 +46,23 @@ protected override bool HandleKeyPress(Keys key)

if (currentNode != null)
Text = currentNode.Value;

return true;
}
else if (key == Keys.Down)
{
if (currentNode == null || currentNode.Previous == null)
return true;

if (key == Keys.Down)
currentNode = currentNode.Previous;
Text = currentNode.Value;
}
else
{
if (currentNode != null && currentNode.Previous != null)
{
currentNode = currentNode.Previous;
Text = currentNode.Value;
}
currentNode = null;

return true;
return base.HandleKeyPress(key);
}

currentNode = null;
return base.HandleKeyPress(key);
return true;
}
}
}
4 changes: 2 additions & 2 deletions DXMainClient/DXGUI/Generic/TopBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,12 @@ private void Keyboard_OnKeyPressed(object sender, KeyPressEventArgs e)
}
}

public override void OnMouseOnControl()
public override void OnMouseOnControl(MouseEventArgs eventArgs)
{
if (Cursor.Location.Y > -1 && !ProgramConstants.IsInGame)
BringDown();

base.OnMouseOnControl();
base.OnMouseOnControl(eventArgs);
}

void BringDown()
Expand Down
Binary file modified References/DTAUpdater.dll
Binary file not shown.
Binary file modified References/Rampastring.Tools.dll
Binary file not shown.
Binary file modified References/Rampastring.Tools.pdb
Binary file not shown.
17 changes: 0 additions & 17 deletions References/Rampastring.Tools.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

99 changes: 5 additions & 94 deletions References/Windows/Rampastring.XNAUI.XML

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified References/Windows/Rampastring.XNAUI.dll
Binary file not shown.
Binary file modified References/Windows/Rampastring.XNAUI.pdb
Binary file not shown.
Loading

0 comments on commit 4adbf5f

Please sign in to comment.