Changeset View
Changeset View
Standalone View
Standalone View
effects/dialogparent/package/contents/code/main.js
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | 72 | for (i = 0; i < mainWindows.length; i += 1) { | |||
---|---|---|---|---|---|
74 | if (w.dialogParentAnimation === undefined) { | 74 | if (w.dialogParentAnimation === undefined) { | ||
75 | continue; | 75 | continue; | ||
76 | } | 76 | } | ||
77 | cancel(w.dialogParentAnimation); | 77 | cancel(w.dialogParentAnimation); | ||
78 | w.dialogParentAnimation = undefined; | 78 | w.dialogParentAnimation = undefined; | ||
79 | animate({ | 79 | animate({ | ||
80 | window: w, | 80 | window: w, | ||
81 | duration: dialogParentEffect.duration, | 81 | duration: dialogParentEffect.duration, | ||
82 | keepAlive: false, | ||||
82 | animations: [{ | 83 | animations: [{ | ||
83 | type: Effect.Saturation, | 84 | type: Effect.Saturation, | ||
84 | from: 0.4, | 85 | from: 0.4, | ||
85 | to: 1.0 | 86 | to: 1.0 | ||
86 | }, { | 87 | }, { | ||
87 | type: Effect.Brightness, | 88 | type: Effect.Brightness, | ||
88 | from: 0.6, | 89 | from: 0.6, | ||
89 | to: 1.0 | 90 | to: 1.0 | ||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |