diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-08-10 12:21:34 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-08-10 12:21:34 +0300 |
| commit | ba0fa1fa68767b7264803019ade99f5e123a5d1a (patch) | |
| tree | fdfeee6b0e707bb639c30deae15971775490216e /Software/Visual_Studio/PPC/Tango.PPC.UI/Controls | |
| parent | cea6dbf4dedf06ba95db5e1b6bb63f207de32a41 (diff) | |
| download | Tango-ba0fa1fa68767b7264803019ade99f5e123a5d1a.tar.gz Tango-ba0fa1fa68767b7264803019ade99f5e123a5d1a.zip | |
ResumeJob. Bug in Emulator, - the job does not complete properly.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Controls')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Controls/RunningJobViewerEureka.xaml.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Controls/RunningJobViewerEureka.xaml.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Controls/RunningJobViewerEureka.xaml.cs index c87c50db2..11823f797 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Controls/RunningJobViewerEureka.xaml.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Controls/RunningJobViewerEureka.xaml.cs @@ -251,6 +251,10 @@ namespace Tango.PPC.UI.Controls if(_prevUnit < currentUnit) { + if(_prevOffset == 0)//resume + { + _prevOffset = ControlWidth * (1-multiplier) * currentUnit; + } _addOffset = _prevOffset; //Debug.WriteLine($"OnSliderValueChanged prevOffset: '{_prevOffset}' currentUnit = {currentUnit}, total:{total}"); } |
