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

Help: Rainmeter Skins • Full Image Boundary with Hover?

$
0
0
So I am trying to make a hover feature where a semi-transparent overlay slides in from the right. I got it to slide and retract when I hover over just where the hover slides in. If I change the minimum width of the hover so it retracts all the way back, I can't get it back when I hover over the image. I want it to activate whenever my cursor is over the whole image but I just can't figure it out. There was one post where I got the main source for this code so I changed it a bit but the whole image is 300x550. If anyone could help out it would be great.

Code:

[Rainmeter]Update=1000BackgroundMode=3[GENSHIN IMPACT]Meter=ImageImageName=#@#genshin.pngLeftMouseUpAction=["C:\Program Files\HoYoPlay\launcher.exe"][Variables]Width=550U=[!UpdateMeasure "MeasureWidth"][!UpdateMeter "MeterBackground"][!Redraw][MeasureWidth]Measure=PluginPlugin=ActionTimerGroup=SlidersActionList1=Repeat Increase,10,550Increase=[!SetVariable Width "(Clamp((#Width#+20),145,550))"]#U#ActionList2=Repeat decrease,10,550Decrease=[!SetVariable Width "(Clamp((#Width#-20),145,550))"]#U#DynamicVariables=1[MeterBackground]Meter=ImageW=#Width#H=300SolidColor=99,101,104,150MouseOverAction=[!CommandMeasure "MeasureWidth" "Execute 1"][!CommandMeasure "MeasureWidth" "Stop 2"]MouseLeaveAction=[!CommandMeasure "MeasureWidth" "Stop 1"][!CommandMeasure "MeasureWidth" "Execute 2"]DynamicVariables=1

Statistics: Posted by alexfeuerborn — Today, 12:42 pm — Replies 2 — Views 113



Viewing all articles
Browse latest Browse all 698

Trending Articles