Merge pull request #917 from HandyOrg/t/bot/fix-codeformatting

[Bot] Automated PR to fix formatting errors
This commit is contained in:
NaBian authored and GitHub committed 2021-07-23 10:02:28 +08:00
commit e7ec39f53a
1 file changed
+1 -1
@@ -128,7 +128,7 @@ namespace HandyControl.Controls
return; return;
} }
_transform.X = _thumb.TranslatePoint(new Point(), _adorner).X -_previewContent.ActualWidth - PreviewContentOffset; _transform.X = _thumb.TranslatePoint(new Point(), _adorner).X - _previewContent.ActualWidth - PreviewContentOffset;
_transform.Y = p.Y - _previewContent.ActualHeight * 0.5; _transform.Y = p.Y - _previewContent.ActualHeight * 0.5;
PreviewPosition = _thumb.IsMouseCaptureWithin ? Value : pos; PreviewPosition = _thumb.IsMouseCaptureWithin ? Value : pos;