mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复更好买收藏失效的错误
This commit is contained in:
parent
f76157cd8d
commit
fa9a62eb90
@ -171,7 +171,7 @@ namespace VPet_Simulator.Windows.Interface
|
||||
public void LoadImageSource(IMainWindow imw)
|
||||
{
|
||||
ImageSource = imw.ImageSources.FindImage("food_" + (Image ?? Name), "food");
|
||||
Star = imw.Set["betterbuy"].GetInfos().Contains(Name);
|
||||
Star = imw.Set["betterbuy"]["star"].GetInfos().Contains(Name);
|
||||
LoadEatTimeSource(imw);
|
||||
}
|
||||
public void LoadEatTimeSource(IMainWindow imw)
|
||||
|
@ -44,7 +44,8 @@
|
||||
FontSize="{Binding FontSize, Source={x:Static pu:GlobalSettings.Setting}}">ID: </TextBlock>
|
||||
<TextBox x:Name="lbLid" VerticalAlignment="Center"
|
||||
Background="{DynamicResource SecondaryTrans4}" BorderThickness="0"
|
||||
FontSize="{Binding FontSize, Source={x:Static pu:GlobalSettings.Setting}}" />
|
||||
FontSize="{Binding FontSize, Source={x:Static pu:GlobalSettings.Setting}}"
|
||||
Margin="5,0,0,0" />
|
||||
</StackPanel>
|
||||
<pu:Switch x:Name="swAllowJoin"
|
||||
FontSize="{Binding FontSize, Converter={x:Static pu:Converters.DoublePlusConverter}, ConverterParameter=2, Source={x:Static pu:GlobalSettings.Setting}}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user