diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-06-16 16:00:50 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-06-16 16:00:50 +0200 |
| commit | 5115f379fc240b1250220910b14d69bb27a32c1e (patch) | |
| tree | 1818ebcf5f2f5bd2f9730d85391217fcd1038c92 /Samples/DebugLogAnalyzer/src/DbgLogViewer.cs | |
| parent | 58e1683bdbe1c169a1ab18b170283f8d171049a7 (diff) | |
using try/finally to ensure mutexes release
Diffstat (limited to 'Samples/DebugLogAnalyzer/src/DbgLogViewer.cs')
| -rw-r--r-- | Samples/DebugLogAnalyzer/src/DbgLogViewer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Samples/DebugLogAnalyzer/src/DbgLogViewer.cs b/Samples/DebugLogAnalyzer/src/DbgLogViewer.cs index d39cc62a..251090ef 100644 --- a/Samples/DebugLogAnalyzer/src/DbgLogViewer.cs +++ b/Samples/DebugLogAnalyzer/src/DbgLogViewer.cs @@ -481,7 +481,7 @@ namespace Crow if (lastTick >= 0 && hoverTick >= 0) ScrollX += lastTick - hoverTick; if (lastLine >= 0 && hoverLine >= 0) - ScrollY += lastLine - hoverLine; + ScrollY += lastLine - hoverLine; updateMouseLocalPos (e.Position); } else { HoverWidget = (hoverLine < 0 || hoverLine >= widgets.Count) ? null : widgets [hoverLine]; |