Opened 12 years ago
Closed 9 years ago
#7385 closed enhancement (invalid)
dojox.fx.highlight doesn't fade back to original color it fades back to the color when it started
Reported by: | dave_daniel | Owned by: | dave_daniel |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | fx | Version: | 1.1.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
If you are highlighting a node and have a duration of 1 second but another highlight event is thrown before it is done. The second highlight will run but it will only fade back to the color that the node was when the event was started and not fade back to the color of the node before the first event was started.
Change History (3)
comment:1 Changed 12 years ago by
Milestone: | tbd → future |
---|---|
Owner: | changed from Bryan Forbes to dante |
comment:2 Changed 9 years ago by
Owner: | changed from dante to dave_daniel |
---|---|
Status: | new → pending |
can this ticket be closed?
if there's no response within 14 days it will automatically close.
comment:3 Changed 9 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
this is because each new animation determines the color to 'fade back to' upon starting, and you are creating the animation while the other has not completed. two immediate solutions come to mind: a) call .gotoPercent(100,true) on the running animation to force it to the end color value or b) simply use animateProperty passing a backgroundColor property for the end value.