mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed overlapped drawing in wordwrapped error mouseovers
This commit is contained in:
parent
29755fddcf
commit
3325d55639
2 changed files with 7 additions and 2 deletions
|
@ -1311,6 +1311,7 @@ namespace IDE.ui
|
|||
|
||||
float addHeight = nameHeight - listViewItem.mSelfHeight;
|
||||
listViewItem.mSelfHeight = nameHeight;
|
||||
listViewItem.mFreezeHeight = true;
|
||||
height += addHeight;
|
||||
}
|
||||
|
||||
|
@ -1322,6 +1323,8 @@ namespace IDE.ui
|
|||
height += GS!(2);
|
||||
|
||||
listView.Resize(popupX, popupY, useWidth, height);
|
||||
listView.mListSizeDirty = true;
|
||||
listView.UpdateListSize();
|
||||
ResizeWindow();
|
||||
}
|
||||
|
||||
|
|
|
@ -1813,7 +1813,8 @@ namespace IDE.ui
|
|||
public bool mFindMismatch;
|
||||
public bool mChildHasMatch;
|
||||
public String mColoredLabel ~ delete _;
|
||||
bool mWantRemoveSelf;
|
||||
public bool mWantRemoveSelf;
|
||||
public bool mFreezeHeight;
|
||||
|
||||
public WatchRefreshButton mWatchRefreshButton;
|
||||
public ActionButton mActionButton;
|
||||
|
@ -2935,7 +2936,8 @@ namespace IDE.ui
|
|||
wantHeight = 0;
|
||||
else
|
||||
wantHeight = watchListView.mFont.GetLineSpacing();
|
||||
if (mSelfHeight != wantHeight)
|
||||
|
||||
if ((mSelfHeight != wantHeight) && (!mFreezeHeight))
|
||||
{
|
||||
mSelfHeight = wantHeight;
|
||||
watchListView.mListSizeDirty = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue