1 |
From 092e1494c1d7d68873f50a0da7699b0fdd15c439 Mon Sep 17 00:00:00 2001 |
2 |
From: Andy Hearn <cuvierster@gmail.com> |
3 |
Date: Sat, 8 Jan 2011 23:26:13 +0000 |
4 |
Subject: [PATCH] Removed suspect hack. Cursor on post-it now scrolls out of view. |
5 |
|
6 |
Previously, when the user scrolls when the cursor is within a |
7 |
post-it note, the main view judders, refusing to let the cursor |
8 |
go out of view. The removed lines appears to have been a hack |
9 |
to retain focus of a post-it note containing the cursor. |
10 |
--- |
11 |
sw/source/ui/docvw/PostItMgr.cxx | 10 ---------- |
12 |
1 files changed, 0 insertions(+), 10 deletions(-) |
13 |
|
14 |
diff --git a/sw/source/ui/docvw/PostItMgr.cxx b/sw/source/ui/docvw/PostItMgr.cxx |
15 |
index cb3e783..7dcdad7 100644 |
16 |
--- a/sw/source/ui/docvw/PostItMgr.cxx |
17 |
+++ b/sw/source/ui/docvw/PostItMgr.cxx |
18 |
@@ -716,16 +716,6 @@ void SwPostItMgr::LayoutPostIts() |
19 |
OSL_ENSURE(mPages[n]->bScrollbar,"SwPostItMgr::LayoutByPage(): note overlaps, but bScrollbar is not true"); |
20 |
} |
21 |
} |
22 |
- |
23 |
- // do some magic so we really see the focused note |
24 |
- for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++) |
25 |
- { |
26 |
- if ((*i)->HasChildPathFocus()) |
27 |
- { |
28 |
- MakeVisible((*i),n+1); |
29 |
- break; |
30 |
- } |
31 |
- } |
32 |
} |
33 |
else |
34 |
{ |
35 |
-- |
36 |
1.7.3.4 |
37 |
|