update Recommendation

This commit is contained in:
NaBian committed 2019-06-02 23:56:24 +08:00
1 parent d56ef8c6cc
commit 7af36ca187
2 files changed
+6 -2

No files matched your search

@@ -135,6 +135,12 @@ namespace HandyControlDemo.Service
DisplayName = "AutumnBox",
AvatarUri = "https://www.atmb.top/images/leaves.png",
Link = "https://github.com/zsh2401/AutumnBox"
},
new AvatarModel
{
DisplayName = "PandaX Studio",
AvatarUri = "https://raw.githubusercontent.com/aboutlong/pandaxstudio/master/pandax/pandax/source/image/logo.png",
Link = "https://github.com/aboutlong/pandaxstudio"
}
};
}
@@ -548,7 +548,6 @@ namespace HandyControl.Controls
if (track == null || track.ThumbStart == null | _track.ThumbEnd == null) return;
var newValue = (isStart ? ValueStart : ValueEnd) + track.ValueFromDistance(e.HorizontalChange, e.VerticalChange);
Console.WriteLine(newValue);
if (ValidateHelper.IsInRangeOfDouble(newValue))
{
UpdateValue(newValue, isStart);
@@ -629,7 +628,6 @@ namespace HandyControl.Controls
protected override void OnMouseMove(MouseEventArgs e)
{
Console.WriteLine(e.GetPosition(this));
if (_thumbCurrent == null) return;
if (e.MouseDevice.LeftButton != MouseButtonState.Pressed) return;