Hi Vyang, "Helder Magalhães" <[EMAIL PROTECTED]> wrote on 07/20/2008 04:25:28 AM:
> > Sorry, I wasn't clear enough. What I wanted to do was to emulate the shift > > press using a toggle button. > I guess you were clear enough but I emulating shift doesn't seem a > good approach as you may disrupt you own contents (for example, if > shift key events are to to be processed at some point). I'm with Helder here. Trying to muck with the system events seem like it will cause all sort's of oddness. > > With this I can use the interactor that is > > already loaded in JSVGCanvas without creating and adding another interactor > > to the canvas. > I keep my suggestion (and provided link), although it will require the > changes you apparently want to avoid (adding a custom interactor and > possibly remove the existing shift-based one). Right I would replace the current pan interactor with a new one that checks for your check box in addition to the shift key, in it's startInteraction method.
