mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-09-16 09:41:08 +00:00
...
This commit is contained in:
parent
8f02d80199
commit
a01a65b6bf
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue