Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/psevents.c
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ Do_txt: if (Ctrl->E.active[PSEVENTS_TEXT] && has_text) { /* Also plot trailing
/* Labels have variable transparency during optional rise and fade, and fully opaque during normal section, and skipped otherwise unless coda */

if (Ctrl->T.now < t[PSEVENTS_T_EVENT]) { /* We are within the rise phase */
x = psevents_ramp (GMT, Ctrl, PSEVENTS_TEXT, PSEVENTS_DECAY, t, Ctrl->T.now); /* Ramp function */
x = psevents_ramp (GMT, Ctrl, PSEVENTS_TEXT, PSEVENTS_RISE, t, Ctrl->T.now); /* Ramp function */
out[GMT_Z] = Ctrl->M.value[PSEVENTS_TRANSP][PSEVENTS_VAL1] * (1.0 - x); /* Magnification of opacity */
}
else if (finite_duration && Ctrl->T.now < t[PSEVENTS_T_END]) /* We are within the normal phase, keep everything constant */
Expand Down
Loading