Remove mouse and tidy.

This commit is contained in:
Nicholas Marriott
2024-10-28 08:48:55 +00:00
parent aaeb8cb37d
commit 78b9096c38
10 changed files with 109 additions and 716 deletions

View File

@@ -1128,12 +1128,8 @@ screen_redraw_draw_pane_scrollbar(struct screen_redraw_ctx *ctx,
if (slider_y >= sb_h)
slider_y = sb_h - 1;
screen_redraw_draw_scrollbar(c, wp, sb_pos, sb_x, sb_y, sb_h,
slider_h, slider_y);
/* Store current position and height of the slider */
wp->sb_slider_y = slider_y; /* top of slider y pos in scrollbar */
wp->sb_slider_h = slider_h; /* height of slider */
screen_redraw_draw_scrollbar(c, wp, sb_pos, sb_x, sb_y, sb_h, slider_h,
slider_y);
}
static void