mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-26 19:48:01 +02:00
Merge pull request #961 from EinBurgbauer/autocomplete-flees-fix
Tool window resize offset fix
This commit is contained in:
commit
39e015a9c2
2 changed files with 2 additions and 2 deletions
|
@ -556,7 +556,7 @@ namespace IDE.ui
|
|||
mIgnoreMove++;
|
||||
if (mAutoComplete.mInvokeWidget != null)
|
||||
mAutoComplete.mInvokeWidget.mIgnoreMove++;
|
||||
mWidgetWindow.Resize(mWidgetWindow.mX, mWidgetWindow.mY, windowWidth, windowHeight);
|
||||
mWidgetWindow.Resize(mWidgetWindow.mNormX, mWidgetWindow.mNormY, windowWidth, windowHeight);
|
||||
mScrollContent.mWidth = mWidth;
|
||||
//Resize(0, 0, mWidgetWindow.mClientWidth, mWidgetWindow.mClientHeight);
|
||||
mIgnoreMove--;
|
||||
|
|
|
@ -1090,7 +1090,7 @@ namespace IDE.ui
|
|||
|
||||
if (autocomplete != null)
|
||||
autocomplete.SetIgnoreMove(true);
|
||||
mWidgetWindow.Resize((int32)(mOrigScreenX + minX), (int32)(mOrigScreenY + minY), (int32)(maxX - minX), (int32)(maxY - minY));
|
||||
mWidgetWindow.Resize((int32)(mWidgetWindow.mNormX + minX), (int32)(mWidgetWindow.mNormY + minY), (int32)(maxX - minX), (int32)(maxY - minY));
|
||||
if (autocomplete != null)
|
||||
autocomplete.SetIgnoreMove(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue