[Seaside] Re: Scriptaculous and Move

Gaëtan Le Brun gaetan.lebrun at gmail.com
Tue Sep 30 15:32:14 UTC 2008


I tried the code below and it fixes the bug :

SUEffect>>move: aPoint
    "This effect moves an element by a given x/y pair of pixels."

    self create; method: 'Move';
     optionAt: 'x' put: aPoint x;
     optionAt: 'y' put: aPoint y



On Tue, Sep 30, 2008 at 5:29 PM, Squeaker <squeakman at gmail.com> wrote:

> Gaëtan Le Brun wrote:
>
>> It works for me if i replace :
>> new Effect.Move('testMove',10,10,{'duration':1})
>> with :
>> new Effect.Move('testMove',{'x':10,'y':10,'duration':1})
>>
>> Gaëtan
>>
>>
> Yes, I can confirm that your changes worked.  Thanks.
>
> It appears to me that this is a problem with the SUEffect>>move: method.
>   Assuming that this is a bug, is this where the fix should go?
>
> ...Frank
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
Gaëtan Le Brun

"The best way to predict the future is to invent it.", A.Kay, 1971
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20080930/ddc9d01b/attachment.htm


More information about the seaside mailing list