It is currently April 20th, 2024, 3:58 am

Y value for dynamic meter positions in "If" command

Get help with creating, editing & fixing problems with skins
User avatar
pul53dr1v3r
Posts: 442
Joined: July 30th, 2014, 10:30 am

Re: Y value for dynamic meter positions in "If" command

Post by pul53dr1v3r »

This is how it works now: https://youtu.be/wzjZIaEE4fk
A bit better, no more histograms on the top on refreshing, but still there when we click on the button to show the histo.
The histogram appears faster, but the buttons are still slow.
If this takes you a lot of time, nvm.

The current code: https://we.tl/MikbnbkvvUi
Last edited by pul53dr1v3r on November 9th, 2017, 9:26 pm, edited 1 time in total.
User avatar
balala
Rainmeter Sage
Posts: 16147
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Y value for dynamic meter positions in "If" command

Post by balala »

Pul53dr1v3r wrote:A bit better, no more histograms on the top on refreshing, but still there when we click on the button to show the histo.
The histogram appears faster, but the buttons are still slow.
I think you've forget to put back the previously removed [!Update] bangs, from the end of the IfTrueAction and IfFalseAction options of the [MeasureSkinState] measure and also forgot to remove the IfConditionMode=1 option of the same measure. Removing this option is extremely important, because if it is there and you put back the [!Update] bangs, an infinite loop will be created, leading the crash of the whole Rainmeter.
If this step doesn't help, I think you'll have to get used with this, because when the histogram is hidden, the background must be updated, to change its size, but because the Background option belongs to the [Rainmeter] section, it seems this section isn't updated by the [!Update] bang, so every time you're clicking the button, you have to wait the next update cycle to get the background updated.
At least now, I don't see a good way to fix this. Sorry...
User avatar
pul53dr1v3r
Posts: 442
Joined: July 30th, 2014, 10:30 am

Re: Y value for dynamic meter positions in "If" command

Post by pul53dr1v3r »

Ah, the issue have been solved adding [!Update]s at the ends of the IfTrueAction/IfFalseAction and removing IfConditionMode I forgot last time. I'd almost given up of this. Thx a ton!
User avatar
balala
Rainmeter Sage
Posts: 16147
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Y value for dynamic meter positions in "If" command

Post by balala »

Pul53dr1v3r wrote:Ah, the issue have been solved adding [!Update]s at the ends of the IfTrueAction/IfFalseAction and removing IfConditionMode I forgot last time.
Have been? Even the late background update when the histogram is hidden?
User avatar
pul53dr1v3r
Posts: 442
Joined: July 30th, 2014, 10:30 am

Re: Y value for dynamic meter positions in "If" command

Post by pul53dr1v3r »

balala wrote:Have been? Even the late background update when the histogram is hidden?
Yes. Everything. https://youtu.be/2FOSbJUYTVI
User avatar
balala
Rainmeter Sage
Posts: 16147
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Y value for dynamic meter positions in "If" command

Post by balala »

Pul53dr1v3r wrote:Yes. Everything.
I'm glad in this case.