flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject Fix for infinite loop/RTE 1502 when resizing text
Date Mon, 17 Feb 2014 23:08:20 GMT
Hi,

Just check in a work around for the adding/removing scrollbar infinite loop.  The checkin
tests, Scroller, DropDown and RichText mustella tests pass. Someone mind reviewing it and
seeing if it's a good solution.

Basically I change the code to count how many times updateDislayList is calls in the infinite
loop situation (adding both scrollbars but one doesn't fit) and if it loops a few times then
just give up and not place any scroll bar. There already existed similar code to prevent updateDisplayList
from looping in another situation.

Thanks,
Justin
Mime
View raw message