File tree Expand file tree Collapse file tree
Controls/VendorLabs/AsyncImage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2
1212- Fixed Inference ControlNet Preprocessors using incorrect resolution and increased maximum of smallest dimension to 16384
1313- Fixed Triton/Sage install option showing for incompatible GPUs
1414- Fixed errors from invalid pip specifiers in requirements files
15+ - Fixed package images sometimes showing as blank due to concurrent image caching. Requests to same image resources are now de-duplicated
1516
1617## v2.14.0-pre.1
1718### Added
Original file line number Diff line number Diff line change 22using System . IO ;
33using System . Reflection ;
44using System . Threading ;
5+ using Fusillade ;
56using StabilityMatrix . Avalonia . Controls . VendorLabs . Cache ;
67
78namespace StabilityMatrix . Avalonia . Controls . VendorLabs ;
@@ -20,7 +21,8 @@ public static class BetterAsyncImageCacheProvider
2021 && ! string . IsNullOrEmpty ( assemblyName )
2122 ? Path . Combine ( Path . GetTempPath ( ) , assemblyName , "Cache" )
2223 : Path . Combine ( Path . GetTempPath ( ) , "Cache" ) ,
23- CacheDuration = TimeSpan . FromDays ( 1 )
24+ CacheDuration = TimeSpan . FromDays ( 1 ) ,
25+ HttpMessageHandler = NetCache . UserInitiated
2426 }
2527 ) ,
2628 LazyThreadSafetyMode . ExecutionAndPublication
Original file line number Diff line number Diff line change 6666 Orientation =" Horizontal" />
6767 </ui : ItemsRepeater .Layout>
6868 <ui : ItemsRepeater .ItemTemplate>
69- <DataTemplate >
69+ <DataTemplate x : DataType = " models:SafetensorMetadata+Tag " >
7070 <Button
7171 Command =" {Binding $parent[ui:ItemsRepeater].((dialogs:SafetensorMetadataViewModel)DataContext).CopyTagToClipboardCommand}"
7272 CommandParameter =" {Binding Name}"
100100 IsVisible =" {Binding !!Metadata.OtherMetadata.Count}"
101101 ItemsSource =" {Binding Metadata.OtherMetadata}" >
102102 <ui : ItemsRepeater .ItemTemplate>
103- <DataTemplate >
103+ <DataTemplate x : DataType = " models:SafetensorMetadata+Metadata " >
104104 <StackPanel Margin =" 5" Orientation =" Vertical" >
105105 <TextBlock FontWeight =" SemiBold" Text =" {Binding Name}" />
106106 <TextBlock Text =" {Binding Value}" />
You can’t perform that action at this time.
0 commit comments