Don't have right click drag description item.
This commit is contained in:
parent
c20a3a8153
commit
969a633d25
2 changed files with 12 additions and 9 deletions
|
|
@ -325,15 +325,18 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
|
||||
void MarkdownWidget_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
controlLayer.Scene.SelectedItem = this;
|
||||
|
||||
if (tracedPositionControl != null && !tracedPositionControl.DownOnControl)
|
||||
if (e.Button == MouseButtons.Left)
|
||||
{
|
||||
tracedPositionControl.ResetHitPlane();
|
||||
mouseDownPosition = worldPosition;
|
||||
var widget = (GuiWidget)sender;
|
||||
widgetDownPosition = widget.TransformToScreenSpace(e.Position);
|
||||
mouseDownOnWidget = true;
|
||||
controlLayer.Scene.SelectedItem = this;
|
||||
|
||||
if (tracedPositionControl != null && !tracedPositionControl.DownOnControl)
|
||||
{
|
||||
tracedPositionControl.ResetHitPlane();
|
||||
mouseDownPosition = worldPosition;
|
||||
var widget = (GuiWidget)sender;
|
||||
widgetDownPosition = widget.TransformToScreenSpace(e.Position);
|
||||
mouseDownOnWidget = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue