Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the animation is not smooth enough #21

Open
sage9731 opened this issue Aug 14, 2019 · 4 comments
Open

the animation is not smooth enough #21

sage9731 opened this issue Aug 14, 2019 · 4 comments

Comments

@sage9731
Copy link

No description provided.

@Gaalidas
Copy link

Gaalidas commented Oct 5, 2019

I'm not really in the position to make any fixes here, since it's not my application... but here's where the smoothness could possibly be made better. Currently the animation duration is set to 0.2 for hiding and 0.3 for showing, in seconds. that's pretty freakin' fast.

In the file "PowerSwitcher.TrayApp\Extensions\WindowExtensions.cs" there is something that looks like: Duration = new Duration(TimeSpan.FromSeconds(0.3)), and, I suspect, you could change that double in the last position to something more to your liking (such as 0.4/0.5) to make it animate smoother. I'm not in a position to test this, but it's a possibility if you want to break free of the windows store and compile your own copy for personal use.

@petrroll
Copy link
Owner

petrroll commented Oct 6, 2019 via email

@petrroll
Copy link
Owner

petrroll commented Oct 6, 2019

Unfortunately I've stopped development of this app so I (most probably) won't be looking at sorting this personally. Feel free to contribute a PR/create a fork, will be happy to help with that.

More info in #23

@petrroll petrroll modified the milestone: someday-maybe Oct 6, 2019
@petrroll
Copy link
Owner

petrroll commented Oct 6, 2019

relevant: #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants