1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Improved ListView cursor key handling, removed debug NOPs

This commit is contained in:
Brian Fiete 2019-09-28 12:15:36 -07:00
parent 959da9884c
commit 987adaec5c
26 changed files with 87 additions and 211 deletions

View file

@ -409,11 +409,6 @@ namespace IDE.ui
let dispWidth = g.mFont.GetWidth(selectedEntry.mEntryDisplay) + GS!(24);
float width = mWidth - GS!(16) - mAutoCompleteListWidget.mRightBoxAdjust;
if (gApp.mMainWindow.IsKeyDown(.Alt))
{
NOP!();
}
if (mAutoCompleteListWidget.mVertScrollbar != null)
width -= GS!(18);
width = Math.Max(dispWidth, width);
@ -1651,11 +1646,6 @@ namespace IDE.ui
gApp.mAutoCompletePanel.FinishBind();
SetIgnoreMove(false);
if (changedAfterInfo)
{
NOP!();
}
if ((mAutoCompleteListWidget != null) && (!mAutoCompleteListWidget.mIsInitted))
mAutoCompleteListWidget.Init();
if ((mInvokeWidget != null) && (!mInvokeWidget.mIsInitted))