Hey,

2015-01-07 1:45 GMT+01:00 K. Frank <kfrank2...@gmail.com>:

> Please let me clarify to be sure I understand:
>
> 1)  To use animation, I need a non-inline widget, e.g. setInline(false);
>
> But
>
> 2)  Even with setInline(false);, my use case -- hiding and showing the
> same widget repeatedly -- is not expected to work correctly because
> of the bug you mention below.
>
> Is this correct?
>

Yes.


> Again, just to confirm, does this bug mean that my test program is not
> expected to work (even with setInline(false);)?
>

Yes.


>
> Is the bug fix simple?  Is it something I can hand-patch in my build of
> Wt 3.3.3?
>

It would be simple if it were not from the complication that the JS is
minified.

The patch is the following:

diff --git a/src/js/WWebWidget.js b/src/js/WWebWidget.js
index 1ccdbed..8298be0 100644
--- a/src/js/WWebWidget.js
+++ b/src/js/WWebWidget.js
@@ -261,6 +261,7 @@ WT_DECLARE_WT_MEMBER
          if (hide)
            el.style.display = display;
          restore(el, elStyle);
+         onEnd();
        });
     }

Then you could copy WWebWidget.js to WWebWidget.min.js (not really
minifying it).

Regards,
koen
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to