This commit is contained in:
Kovid Goyal 2026-08-07 10:00:53 +05:30
parent 8f02d80199
commit a01a65b6bf
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View file

@ -2456,7 +2456,7 @@ run_custom_end_shader(OSWindow *os_window, float sx, float sy, monotonic_t now)
}
float anim_progress = 0.0f;
monotonic_t eff_dur = cg->animation_end_duration < 0 ? OPT(cursor_blink_interval) : cg->animation_end_duration;
monotonic_t eff_dur = cg->animation_end_duration < 0 ? OPT(cursor_stop_blinking_after) : cg->animation_end_duration;
if (cg->animation_start_events != 0 && eff_dur > 0 && os_window->shader_group_anim[g].active) {
monotonic_t started_at = os_window->shader_group_anim[g].started_at;
bool cached = false;

View file

@ -1198,7 +1198,7 @@ class Group(TypedDict):
animation_curve: EasingFunction # parsed easing curve
animation_step: int # nanoseconds between animation samples
animation_end_events: tuple[str, ...] # events that stop the animation
animation_end_duration: int # nanoseconds; 0 = no time limit, negative = use cursor_blink_interval
animation_end_duration: int # nanoseconds; 0 = no time limit, negative = use cursor_stop_blinking_after
class Pipeline(TypedDict):