Ah? No, i haven't any troubles with original version of this switcher. I told about 1.1 version. When rainmeter freezes (no matter why, as example - Aurora's reasons) and you brainf*** the switcher in this moments, Y coords gets bugged and you see half of 2 player names at a time and so on. v1.2 are protected in this means. Trust me, i brought some violence for rainmeter while tested.Yincognito wrote: ↑September 21st, 2020, 2:22 pm Yeah, too bad numerical variables aren't resolved when using !SetVariable unless you also create Calc measures for them, cause it would have saved me from adding the somewhat redundant [PlayerUpIndex] and [PlayerDownIndex] measures to the code.
Maybe a Lua version would solve another dozen of bugs in AuroraBar, so push hard for it...
It is currently October 9th, 2024, 3:17 pm
[Trick | Guide] Simple scrolling switcher
-
- Posts: 209
- Joined: July 12th, 2020, 7:47 am
- Location: Ada, Garden City
Re: [Trick | Guide] Simple scrolling switcher
-
- Rainmeter Sage
- Posts: 8395
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: [Trick | Guide] Simple scrolling switcher
I'm not sure we talk about the same thing, but that (seeing half of 2 player names at a time) had nothing to do with AuroraBar - it was a bug in the 1.1 version of this code, actually, and it happened for me as well. I believe it was because although the height of the text was 24 pixels, the ActionTimer measure would scroll only 20 pixels at a time, and those 4 leftover pixels would keep adding up and create the artefact you mentioned. I corrected this right from the start when I modified the 1.1 version to get the 1.2 version, because I'm quite picky wheen it comes to formulas giving the appropriate result: Since we're at it, I've seen this approach in many ActionTimer codes ... where the scrolling / sliding ActionTimer amount doesn't equal the actual interval the variable should belong to.deflore08 wrote: ↑September 21st, 2020, 2:39 pm Ah? No, i haven't any troubles with original version of this switcher. I told about 1.1 version. When rainmeter freezes (no matter why, as example - Aurora's reasons) and you brainf*** the switcher in this moments, Y coords gets bugged and you see half of 2 player names at a time and so on. v1.2 are protected in this means. Trust me, i brought some violence for rainmeter while tested.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 209
- Joined: July 12th, 2020, 7:47 am
- Location: Ada, Garden City
Re: [Trick | Guide] Simple scrolling switcher
Yes. It happens independently of performance, and trouble not in size. With 24px the same result, tested right now.Yincognito wrote: ↑September 21st, 2020, 2:46 pm I'm not sure we talk about the same thing, but that (seeing half of 2 player names at a time) had nothing to do with AuroraBar - it was a bug in the 1.1 version of this code, actually, and it happened for me as well. I believe it was because although the height of the text was 24 pixels, the ActionTimer measure would scroll only 20 pixels at a time, and those 4 leftover pixels would keep adding up and create the artefact you mentioned. I corrected this right from the start when I modified the 1.1 version to get the 1.2 version, because I'm quite picky wheen it comes to formulas giving the appropriate result:
Bug.jpg
Since we're at it, I've seen this approach in many ActionTimer codes ... where the scrolling / sliding ActionTimer amount doesn't equal the actual interval the variable should belong to.
-
- Rainmeter Sage
- Posts: 8395
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita