Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Restricting node drag to positive coordinates (Read 1771 times)
Denis_Vuyka
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Mar 23rd, 2010
Restricting node drag to positive coordinates
Mar 29th, 2010 at 3:38pm
Print Post  
How should I restrict a node from being dragged to negative coordinates?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Restricting node drag to positive coordinates
Reply #1 - Mar 29th, 2010 at 6:54pm
Print Post  
You could set e.Cancel = true from the NodeModifying handler if the coordinates are negative.

Stoyan
  
Back to top
 
IP Logged
 
Denis_Vuyka
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Mar 23rd, 2010
Re: Restricting node drag to positive coordinates
Reply #2 - Mar 29th, 2010 at 7:14pm
Print Post  
Thanks, that did the trick for me. Any chance this become a default behavior?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Restricting node drag to positive coordinates
Reply #3 - Mar 31st, 2010 at 6:35am
Print Post  
Yes, I have added this to our feature requests list.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint