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

Help: Rainmeter Skins • Re: Color-Slider -> Consultation

$
0
0
The slider ran pretty smoothly back then, but the new slider has to do some calculations because of the skin scaling when the color slider is moved back and forth and seems a bit sluggish. So my question is, can the calculations be simplified or optimized? Or optimized in general?
No, this is not needed. What you have to do is to update the measures and meters whenever are you dragging the sliders. For this, you have to add some bangs to the LeftMouseDragAction options of the [MeasureMouseR], [MeasureMouseG] and [MeasureMouseB] measures. Add the following bangs to each of these options: [!UpdateMeasure "MeasureColorCOLOR"][!UpdateMeter "SliderCOLOR"][!Redraw]. You obviously have to replace COLOR by the appropriate names on each option (Red, Green and Blue respectively). this way you get the meters properly updated when you're dragging the sliders, otherwise you have to wait up to 1 second (the Update value of the skin) until an update goes on.

Statistics: Posted by balala — Today, 2:39 pm



Viewing all articles
Browse latest Browse all 1538

Trending Articles