aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/DebugLogAnalyzer/src/DbgLogViewer.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-06-16 16:00:50 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-06-16 16:00:50 +0200
commit5115f379fc240b1250220910b14d69bb27a32c1e (patch)
tree1818ebcf5f2f5bd2f9730d85391217fcd1038c92 /Samples/DebugLogAnalyzer/src/DbgLogViewer.cs
parent58e1683bdbe1c169a1ab18b170283f8d171049a7 (diff)
using try/finally to ensure mutexes release
Diffstat (limited to 'Samples/DebugLogAnalyzer/src/DbgLogViewer.cs')
-rw-r--r--Samples/DebugLogAnalyzer/src/DbgLogViewer.cs2
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];