Skip to content

Commit

Permalink
Inline data children source in brush panel
Browse files Browse the repository at this point in the history
  • Loading branch information
ReMinoer committed Jan 6, 2023
1 parent de9e062 commit b880596
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Modules/Calame.BrushPanel/ViewModels/BrushPanelViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ public BrushPanelViewModel(IShell shell, IEventAggregator eventAggregator, IIcon
new EnumerableReadOnlyObservableList<object>(x.Children),
new EnumerableReadOnlyObservableList<object>(x.ChildrenSources)
), x => ObservableHelpers.OnPropertyChanged(x as INotifyPropertyChanged, nameof(IGlyphData.Children), nameof(IGlyphData.ChildrenSources)))
.IconDescription(dataIconDescriptor.GetIcon);
.IconDescription(dataIconDescriptor.GetIcon)
.CanInlineChild(x => x.Data is IGlyphDataChildrenSource);

_childrenSourceItemBuilder = new TreeViewItemModelBuilder<IGlyphDataChildrenSource>()
.DisplayName(x => x.PropertyName)
Expand Down

0 comments on commit b880596

Please sign in to comment.