mirror of
https://github.com/kovidgoyal/kitty.git
synced 2025-12-13 20:36:22 +01:00
Graphics: Fix overwrite composition mode for animation frames not being honored
This commit is contained in:
@@ -146,6 +146,8 @@ Detailed list of changes
|
||||
|
||||
- icat kitten: Add support for APNG, netPBM, ICC color profiles and CCIP metadata to the builtin engine
|
||||
|
||||
- Graphics: Fix overwrite composition mode for animation frames not being honored
|
||||
|
||||
0.44.0 [2025-11-03]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
@@ -1590,7 +1590,7 @@ handle_animation_frame_load_command(GraphicsManager *self, GraphicsCommand *g, I
|
||||
.x = g->x_offset, .y = g->y_offset,
|
||||
.is_4byte_aligned = load_data->is_4byte_aligned,
|
||||
.is_opaque = load_data->is_opaque,
|
||||
.alpha_blend = g->blend_mode != 1 && !load_data->is_opaque,
|
||||
.alpha_blend = g->compose_mode != 1 && !load_data->is_opaque,
|
||||
.gap = g->gap > 0 ? g->gap : (g->gap < 0) ? 0 : DEFAULT_GAP,
|
||||
.bgcolor = g->bgcolor,
|
||||
};
|
||||
|
||||
@@ -13,7 +13,7 @@ typedef struct {
|
||||
uint32_t format, more, id, image_number, data_sz, data_offset, placement_id, quiet, parent_id, parent_placement_id;
|
||||
uint32_t width, height, x_offset, y_offset;
|
||||
union { uint32_t cursor_movement, compose_mode; };
|
||||
union { uint32_t cell_x_offset, blend_mode; };
|
||||
union { uint32_t cell_x_offset; };
|
||||
union { uint32_t cell_y_offset, bgcolor; };
|
||||
union { uint32_t data_width, animation_state; };
|
||||
union { uint32_t data_height, loop_count; };
|
||||
|
||||
Reference in New Issue
Block a user