mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 05:23:24 -07:00
BUG-1908: Made Greenshot recheck & add the external commands like Ms-Paint and Paint.NET if they are not deleted manually and not yet available. Also cleaned up some code.
This commit is contained in:
parent
35ed3b8d60
commit
6efc7796b8
49 changed files with 322 additions and 294 deletions
|
@ -519,7 +519,7 @@ namespace GreenshotPlugin.Core {
|
|||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
static class Sine {
|
||||
private static class Sine {
|
||||
public static double EaseIn(double s) {
|
||||
return Math.Sin(s * (Math.PI / 2) - (Math.PI / 2)) + 1;
|
||||
}
|
||||
|
@ -531,7 +531,7 @@ namespace GreenshotPlugin.Core {
|
|||
}
|
||||
}
|
||||
|
||||
static class Power {
|
||||
private static class Power {
|
||||
public static double EaseIn(double s, int power) {
|
||||
return Math.Pow(s, power);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue