mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-03 19:54:13 +13:00
Change tooltip times
This commit is contained in:
parent
47899781d9
commit
c8ac26d8dd
2 changed files with 4 additions and 8 deletions
|
@ -50,9 +50,9 @@ private set
|
|||
}
|
||||
}
|
||||
|
||||
public TimeSpan Duration { get; private set; }
|
||||
public TimeSpan FadeInDuration { get; private set; }
|
||||
public TimeSpan FadeOutDuration { get; private set; }
|
||||
public TimeSpan Duration { get; private set; } = TimeSpan.Zero;
|
||||
public TimeSpan FadeInDuration { get; private set; } = TimeSpan.Zero;
|
||||
public TimeSpan FadeOutDuration { get; private set; } = TimeSpan.Zero;
|
||||
|
||||
public TimeSpan TotalDuration => FadeInDuration + Duration + FadeOutDuration;
|
||||
|
||||
|
@ -60,10 +60,6 @@ private set
|
|||
|
||||
private Stopwatch timer = new Stopwatch();
|
||||
|
||||
public TextAnimation()
|
||||
{
|
||||
}
|
||||
|
||||
public TextAnimation(TimeSpan duration)
|
||||
{
|
||||
Duration = duration;
|
||||
|
|
|
@ -36,7 +36,7 @@ internal partial class ShapeManager
|
|||
{
|
||||
public bool IsMenuCollapsed { get; private set; }
|
||||
|
||||
internal TextAnimation MenuTextAnimation = new TextAnimation(TimeSpan.FromSeconds(3), TimeSpan.FromSeconds(0.5), TimeSpan.FromSeconds(0.5));
|
||||
internal TextAnimation MenuTextAnimation = new TextAnimation(TimeSpan.FromSeconds(5), TimeSpan.FromSeconds(0), TimeSpan.FromSeconds(0.5));
|
||||
|
||||
private Form menuForm;
|
||||
private ToolStripEx tsMain;
|
||||
|
|
Loading…
Reference in a new issue