Pārlūkot izejas kodu

Fixes issue 3835: Textpane selection breaks when moving mouse below textpane during selection

Change-Id: Ibfe20ebdaa6d724bb8197aa24682df14c5e752d8
Reviewed-on: http://gerrit.dmdirc.com/947
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com>
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
tags/0.6.3
Greboid 14 gadus atpakaļ
vecāks
revīzija
407683fa35

+ 1
- 1
src/com/dmdirc/addons/ui_swing/textpane/TextPaneCanvas.java Parādīt failu

@@ -749,7 +749,7 @@ class TextPaneCanvas extends JPanel implements MouseInputListener,
749 749
                         (bounds.getY() + bounds.getHeight())) {
750 750
                     point.setLocation(bounds.getX() + bounds.getWidth() -
751 751
                             SINGLE_SIDE_PADDING, bounds.getY() +
752
-                            bounds.getHeight() - DOUBLE_SIDE_PADDING);
752
+                            bounds.getHeight() - DOUBLE_SIDE_PADDING - 1);
753 753
                 }
754 754
             }
755 755
             final LineInfo info = getClickPosition(point);

Notiek ielāde…
Atcelt
Saglabāt