acidburn0zzz / flexlib

Automatically exported from code.google.com/p/flexlib
MIT License
2 stars 0 forks source link

Colors are mixing when move the timeline or/and the zoom #338

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download flexlib-.2.4
2. No changes to the code.
3. Run the ScheduleViewer6_Sample

What is the expected output? What do you see instead?
I've tried the exemple6 of the ScheduleViewer in flex4. The
compilaton is fine, but when i want to move the timeline or/and the zoom colors 
are mixing and does not refresh correctly. 

What version of the product are you using? On what operating system?
flexlib-.2.4, Flex 4, Adobe Flex Builder 4, Windows 7

Please provide any additional information below.
I have added to the updateDisplayList method in 
AbstractGradientScheduleEntryRenderer:

graphics.clear();

before 

graphics.beginGradientFill(...

and it solves the problem.

Original issue reported on code.google.com by ogn...@gmail.com on 24 Nov 2010 at 10:51

GoogleCodeExporter commented 9 years ago
It is observed with flexlib-.2.5, but is the same for flexlib-.2.4

Original comment by ogn...@gmail.com on 24 Nov 2010 at 10:58