Skip to content

st: Introspect ScrollViewFade to read fade properties

I can't find the reason why this wasn't introspected before, I suppose it was meant to be kept private (as per commit 6822795b), but at the moment I can't find a reason why it should be that. If we prefer, I can still change the commit not to install the header though.

Util.ensureActorVisibleInScrollView take care of the potential scroll view fade effect in order to compute the scroll offset, reading the ScrollViewFade's vfade-offset property. However such property isn't defined because gjs has no clue of such class.

Fix this by also introspecting st-scroll-view-fade sources. Also install the header.

Fixes #1061 (closed)

Merge request reports