mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[as3] Fixes half of #640, color assignment in ColorTimeline was wrong.
This commit is contained in:
parent
e4d7af39b1
commit
e92c463fad
@ -75,7 +75,7 @@ public class ColorTimeline extends CurveTimeline {
|
||||
r = frames[int(frame + PREV_R)];
|
||||
g = frames[int(frame + PREV_G)];
|
||||
b = frames[int(frame + PREV_B)];
|
||||
b = frames[int(frame + PREV_A)];
|
||||
a = frames[int(frame + PREV_A)];
|
||||
var frameTime:Number = frames[frame];
|
||||
var percent:Number = getCurvePercent(frame / ENTRIES - 1,
|
||||
1 - (time - frameTime) / (frames[frame + PREV_TIME] - frameTime));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user