Improving the intuition around library navigation

This commit is contained in:
Lars Brubaker 2015-09-08 18:01:09 -07:00
parent 32c8c41359
commit 563a5a3b2d
8 changed files with 88 additions and 29 deletions

View file

@ -102,6 +102,15 @@ namespace MatterHackers.MatterControl.CustomWidgets.LibrarySelector
UiThread.RunOnIdle(libraryDataView.RebuildView);
}
public override void OnMouseDown(MouseEventArgs mouseEvent)
{
if (mouseEvent.Clicks == 2)
{
UiThread.RunOnIdle(ChangeCollection);
}
base.OnMouseDown(mouseEvent);
}
private void SetDisplayAttributes()
{
//this.VAnchor = Agg.UI.VAnchor.FitToChildren;