更新整理
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 824 B |
@@ -56,7 +56,7 @@ public class DynamicScrollBar : System.Windows.Controls.Primitives.ScrollBar
|
||||
|
||||
bar._isInteracted = !bar._isInteracted;
|
||||
|
||||
_ = bar.UpdateScrollAsync();
|
||||
bar.UpdateScrollAsync();
|
||||
}
|
||||
|
||||
private static void OnIsScrollingChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||
@@ -73,7 +73,7 @@ public class DynamicScrollBar : System.Windows.Controls.Primitives.ScrollBar
|
||||
|
||||
bar._isScrolling = !bar._isScrolling;
|
||||
|
||||
_ = bar.UpdateScrollAsync();
|
||||
bar.UpdateScrollAsync();
|
||||
}
|
||||
|
||||
private async Task UpdateScrollAsync()
|
||||
@@ -106,7 +106,7 @@ public class DynamicScrollBar : System.Windows.Controls.Primitives.ScrollBar
|
||||
{
|
||||
base.OnMouseEnter(e);
|
||||
|
||||
_ = UpdateScrollAsync();
|
||||
UpdateScrollAsync();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -116,7 +116,7 @@ public class DynamicScrollBar : System.Windows.Controls.Primitives.ScrollBar
|
||||
{
|
||||
base.OnMouseLeave(e);
|
||||
|
||||
_ = UpdateScrollAsync();
|
||||
UpdateScrollAsync();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 824 B |
Reference in New Issue
Block a user