Ticket #10345: drop_target_ex_diff.txt

File drop_target_ex_diff.txt, 888 bytes (added by Stephen L'Allier, 8 years ago)
Line 
1--- drop_target_ex.cpp 2015-12-08 12:16:22.920488019 -0500
2+++ drop_target_ex_new.cpp 2015-12-08 12:19:07.560444000 -0500
3@@ -25,7 +25,8 @@
4 {
5 def = FixupDragResult(def);
6 if (!m_timer.IsRunning() && IsScroll(wxPoint(x, y))) {
7- m_timer.Start(100, true);
8+ /* changed wait length of timer to slow down scrolling/**/
9+ m_timer.Start(400, true);
10 m_count = 0;
11 }
12 return def;
13@@ -42,7 +43,8 @@
14 {
15 def = FixupDragResult(def);
16 if (!m_timer.IsRunning() && IsScroll(wxPoint(x, y))) {
17- m_timer.Start(100, true);
18+ /* changed wait length of timer to slow down scrolling/**/
19+ m_timer.Start(400, true);
20 m_count = 0;
21 }
22 return def;
23@@ -153,9 +155,8 @@
24
25 DisplayDropHighlight(p);
26
27- if (m_count < 90)
28- ++m_count;
29- m_timer.Start(100 - m_count, true);
30+ /* changed wait length of timer to slow down scrolling/**/
31+ m_timer.Start(400, true);
32 }
33
34 template<class Control>