mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +02:00
Use an unsigned int rather than a double to store pixel scroll offset
Its an integral number of pixels.
This commit is contained in:
@@ -104,9 +104,8 @@ typedef struct ExtraCursors {
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
|
||||
unsigned int columns, lines, margin_top, margin_bottom, scrolled_by;
|
||||
unsigned int columns, lines, margin_top, margin_bottom, scrolled_by, pixel_scroll_offset_y;
|
||||
double pending_scroll_pixels_x, pending_scroll_pixels_y;
|
||||
double pixel_scroll_offset_y;
|
||||
CellPixelSize cell_size;
|
||||
OverlayLine overlay_line;
|
||||
id_type window_id;
|
||||
|
||||
Reference in New Issue
Block a user