remove usages of SmoothingScale across the codebase

This commit is contained in:
ontrigger
2023-09-25 23:29:29 +03:00
parent 9667848c96
commit 6a62dac49b
2 changed files with 2 additions and 6 deletions

View File

@@ -54,9 +54,7 @@ namespace FlaxEditor.Windows.Search
_selectedItem.BackgroundColor = Style.Current.BackgroundSelected;
if (_matchedItems.Count > VisibleItemCount)
{
_resultPanel.VScrollBar.SmoothingScale = 0;
_resultPanel.ScrollViewTo(_selectedItem);
_resultPanel.VScrollBar.SmoothingScale = 1;
_resultPanel.ScrollViewTo(_selectedItem, true);
}
}
}