1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 23:04:09 +02:00

Fixed some tooltips, added Link Dependencies, more int-ness

This commit is contained in:
Brian Fiete 2019-12-21 05:48:44 -08:00
parent 939c818581
commit d0e8332150
30 changed files with 180 additions and 432 deletions

View file

@ -1718,7 +1718,7 @@ namespace IDE.ui
CompactChildExpression(source, compactEvalStr);
var rootItem = mListView.GetRoot();
int32 idx = rootItem.mChildItems.IndexOf(target);
int idx = rootItem.mChildItems.IndexOf(target);
if (theEvent.mDragTargetDir > 0)
idx += theEvent.mDragTargetDir;
var listViewItem = (WatchListViewItem)rootItem.CreateChildItemAtIndex(idx);
@ -2864,7 +2864,7 @@ namespace IDE.ui
var selectedItem = selectedItems[itemIdx];
if ((selectedItem != null) && (selectedItem.mLabel.Length > 0) && (selectedItem.mParentItem == root))
{
int32 idx = root.mChildItems.IndexOf(selectedItem);
int idx = root.mChildItems.IndexOf(selectedItem);
root.RemoveChildItem(selectedItem);
if (idx < root.mChildItems.Count)
root.SelectItemExclusively(root.mChildItems[idx]);