Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic a bug of diagram.Selection.Bounds (Read 1883 times)
chowy
Junior Member
**
Offline


I Love MindFusion!

Posts: 72
Joined: May 8th, 2017
a bug of diagram.Selection.Bounds
Jun 30th, 2017 at 1:56am
Print Post  
When I write a demo, I test a bug of mindfusion. When I draw a rectangle, when the drawing is done, the rectangle is selected. At this time the data for diagram.Selection.Bounds is correct. The rectangle is selected, modify the size, diagram.Selection.Bounds is still the previous value, not a rectangle modified value.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: a bug of diagram.Selection.Bounds
Reply #1 - Jun 30th, 2017 at 9:30am
Print Post  
Do you mean after changing selected node's Bounds from code?
  
Back to top
 
IP Logged
 
chowy
Junior Member
**
Offline


I Love MindFusion!

Posts: 72
Joined: May 8th, 2017
Re: a bug of diagram.Selection.Bounds
Reply #2 - Jun 30th, 2017 at 9:37am
Print Post  
Slavcho wrote on Jun 30th, 2017 at 9:30am:
Do you mean after changing selected node's Bounds from code?

No, after I draw, I did not change the selected state of node, and then drag the selected node directly, this time the node's bounds will be changed. But diagram.selection.bounds does not change.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: a bug of diagram.Selection.Bounds
Reply #3 - Jul 4th, 2017 at 5:33pm
Print Post  
The Selection object gets involved in interaction only when there are multiple items selected and didn't get updated from a single node. This build should update it in that case too -
https://mindfusion.eu/_beta/wpfdiag35.zip

Regards,
Slavcho
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint