Only display slice settings popovers for the FirstUnderMouse widget
- Issue MatterHackers/MCCentral#4738 Expand All menu item click failure
This commit is contained in:
parent
b12f6af750
commit
4d4c4cff8f
1 changed files with 6 additions and 3 deletions
|
|
@ -440,12 +440,16 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
|
||||
settingsRow.MouseEnterBounds += (s, e) =>
|
||||
{
|
||||
// Only display popovers when we're the active widget, exit if we're not first under mouse
|
||||
if (!this.FirstWidgetUnderMouse)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
settingsRow.Focus();
|
||||
|
||||
int p2 = (int)(thisRow.Height / 2);
|
||||
|
||||
Console.WriteLine("RowHeight: {0} - {1}", thisRow.Height, p2);
|
||||
|
||||
var tagContainer = new Popover(Popover.ArrowDirection.Right, new BorderDouble(15, 10), 7, p2)
|
||||
{
|
||||
HAnchor = HAnchor.Fit,
|
||||
|
|
@ -471,7 +475,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
AltMate = new MateOptions(MateEdge.Left, MateEdge.Bottom)
|
||||
});
|
||||
|
||||
Console.WriteLine("Set previousBubble");
|
||||
previousBubble = tagContainer;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue