优化发票助手
This commit is contained in:
1 parent
6b36de2494
commit
a81ba26de8
9 files changed
+584
-262
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using _29WxOrderWpf.Ctrls.PDDInvoice.ViewModels;
|
||||
using CefSharp.DevTools.Overlay;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -65,9 +66,6 @@ public partial class PDDInvoiceView : UserControl
|
||||
{
|
||||
_scrollStopTimer.Stop();
|
||||
|
||||
System.Diagnostics.Debug.WriteLine("滚动停止了");
|
||||
|
||||
|
||||
// 用 Background 优先级设置,避免和当前这一帧的滚动惯性/渲染争抢,
|
||||
// 让 UI 线程先把滚动动画收尾,再去处理这一波图片加载触发
|
||||
Dispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() =>
|
||||
@@ -100,4 +98,5 @@ public partial class PDDInvoiceView : UserControl
|
||||
.ContainerFromItem(vm.SelectedOrder) as FrameworkElement;
|
||||
container?.BringIntoView();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user