Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 788

Help: Rainmeter Skins • Re: Need Help with Mouse Scroll

$
0
0
Use the ScrollIncrement variable to set a scrolling "speed". LyricsY is only the initial Lyrics position, just leave in 0.

Use scrolling to scroll the lyrics, press the scroll wheel to reset the lyrics position, it also resets automatically when the song changes.
A minor observation: I didn't test the code, but when clamping the LyricsY in the scroll actions, you could use the difference between the height of the container meter and the height of the lyrics meter as a low bound, instead of a hardcoded -10000 value. You know, so that it stops at the last lyrics line when scrolling down. ;-)

Or, even better, the minimum between that difference and 0, so that the low bound will never be greater than the high bound, and the lyrics won't be scrolling when their height is less than that of the container.

Statistics: Posted by Yincognito — Today, 10:46 am



Viewing all articles
Browse latest Browse all 788

Trending Articles