mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
Fix scrollback_indicator_opacity not actually controlling the opacity
Fixes #7557
This commit is contained in:
parent
fbdc2b44e0
commit
2bcb32d611
2 changed files with 3 additions and 1 deletions
|
|
@ -63,6 +63,8 @@ Detailed list of changes
|
|||
|
||||
- Wayland labwc: Fix kitty timing out waiting for compositor to quit fucking around with scales on labwc (:iss:`7540`)
|
||||
|
||||
- Fix :opt:`scrollback_indicator_opacity` not actually controlling the opacity (:iss:`7557`)
|
||||
|
||||
0.35.1 [2024-05-31]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -612,7 +612,7 @@ draw_scroll_indicator(bool premult, Screen *screen, const CellRenderData *crd) {
|
|||
if (premult) { BLEND_PREMULT } else { BLEND_ONTO_OPAQUE }
|
||||
bind_program(TINT_PROGRAM);
|
||||
const color_type bar_color = colorprofile_to_color(screen->color_profile, screen->color_profile->overridden.highlight_bg, screen->color_profile->configured.highlight_bg).rgb;
|
||||
GLfloat alpha = 0.8f;
|
||||
GLfloat alpha = OPT(scrollback_indicator_opacity);
|
||||
float frac = (float)screen->scrolled_by / (float)screen->historybuf->count;
|
||||
const GLfloat bar_height = crd->gl.dy;
|
||||
GLfloat bottom = (crd->gl.ystart - crd->gl.height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue