Fix library performance issues due to resize on display

- Issue MatterHackers/MCCentral#2435
Large thumbnail images behind poorly performing ListView control
This commit is contained in:
John Lewin 2017-12-17 11:23:36 -08:00
parent c8b700d6c6
commit 00c0be94c2
3 changed files with 50 additions and 10 deletions

View file

@ -93,7 +93,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
{
var listView = listViewItem.ListView;
var thumbnail = listView.LoadCachedImage(listViewItem);
var thumbnail = listView.LoadCachedImage(listViewItem, thumbWidth, thumbHeight);
if (thumbnail != null)
{
SetItemThumbnail(thumbnail);