[Laszlo-dev] For Review: Change 20071022-maxcarlson-k Summary: Fix context menus to work without bgcolor set

Philip Romanik promanik at laszlosystems.com
Tue Oct 23 08:01:16 PDT 2007


Approved!


>Change 20071022-maxcarlson-k by maxcarlson at plastik on 2007-10-22
>20:30:29 PDT
>      in /Users/maxcarlson/openlaszlo/trunk
>      for 
> <http://svn.openlaszlo.org/openlaszlo/trunk>http://svn.openlaszlo.org/openlaszlo/trunk
>
>Summary: Fix context menus to work without bgcolor set
>
>New Features:
>
>Bugs Fixed: LPP-3852 - Context menu doesn't work properly with 
>transparent views
>
>Technical Reviewer: promanik
>QA Reviewer: jcrowley
>Doc Reviewer: (pending)
>
>Documentation:
>
>Release Notes:
>
>Details: Remove extra assignments of width/height/x/y.
>
>In setBGColor() if the bgcolor was set for a context menu, reset its 
>alpha to the correct value and allow opacity to be applied.  If 
>clearing the bgcolor, don't remove the movieclip and don't allow 
>opacity to be applied.
>
>In setOpacity()  set the bgcolor alpha if not set by the context 
>menu and overridden by the context menu.
>
>In changeOrder() store and restore the current alpha value of the 
>bgcolor movieclip.
>
>In setContextMenu() always add a bgcolor view, and set its alpha to 
>0 to hide it if no bgcolor is currently set.
>
>
>Tests: See LPP-3852.
>
>Files:
>M      WEB-INF/lps/lfc/kernel/swf/LzSprite.as
>
>Changeset: 
><http://svn.openlaszlo.org/openlaszlo/patches/20071022->http://svn.openlaszlo.org/openlaszlo/patches/20071022-
>maxcarlson-k.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20071023/e165f0f7/attachment.html


More information about the Laszlo-dev mailing list