Made description and measure tools work when grouped
Fixed error with GitHub images Improved multi line editor
This commit is contained in:
parent
6c4b9aeabc
commit
de9cf38db9
8 changed files with 69 additions and 30 deletions
|
|
@ -158,7 +158,7 @@ namespace MatterHackers.MatterControl.Library
|
|||
{
|
||||
// load again to make sure we block until the load is done
|
||||
LoadFolderImageUrlCache().Wait();
|
||||
var folderImage = CheckForImage(Path.GetFileNameWithoutExtension(item.Name), folderImageUrlCache);
|
||||
var folderImage = CheckForImage(item.Name, folderImageUrlCache);
|
||||
if (folderImage != null)
|
||||
{
|
||||
folderImage.SetRecieveBlender(new BlenderPreMultBGRA());
|
||||
|
|
@ -181,7 +181,7 @@ namespace MatterHackers.MatterControl.Library
|
|||
{
|
||||
foreach (var imageUrl in cache)
|
||||
{
|
||||
if (imageUrl.name.Contains(id))
|
||||
if (Path.GetFileNameWithoutExtension(imageUrl.name) == id)
|
||||
{
|
||||
// download the image and cache it
|
||||
var image = new ImageBuffer(LibraryConfig.DefaultItemIcon);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue