Example #1
0
 void CoreOnAssetChanged(object sender, AssetChangedArgs e)
 {
     _nodes[e.Asset].NodeFont = e.Asset.PaletteHints?.Count == 0 ? _boldFont : _defaultFont;
 }
Example #2
0
 void CoreOnAssetChanged(object sender, AssetChangedArgs e)
 {
     _nodes[e.Asset].NodeFont = e.Asset.Get(AssetProperty.PaletteId, 0) == 0 ? _boldFont : _defaultFont;
 }