Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/macdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremie Laval <jeremie.laval@gmail.com>2012-03-13 23:12:29 +0400
committerJeremie Laval <jeremie.laval@gmail.com>2012-03-13 23:12:29 +0400
commit76b99e542bdf8fb4a7ebf6ba335d0cc8c3158302 (patch)
treee69ff3045016813a17d06b0dae65d099c242c55a /MyDocument.cs
parent8b1b62877edd788b9c928d3647653a2b720aa12d (diff)
[macdoc] Move ScrollToVisible when showing index after the the multiple match refresh so that it doesn't get obscured
Diffstat (limited to 'MyDocument.cs')
-rw-r--r--MyDocument.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MyDocument.cs b/MyDocument.cs
index 234571b..e307423 100644
--- a/MyDocument.cs
+++ b/MyDocument.cs
@@ -279,9 +279,9 @@ namespace macdoc
{
int targetRow = mdocSearch.FindClosest (text);
indexResults.SelectRow (targetRow, false);
- indexResults.ScrollRowToVisible (targetRow);
OnIndexRowSelected (targetRow);
+ indexResults.ScrollRowToVisible (targetRow);
}
void OnSearchRowSelected (int targetRow)