Преглед изворни кода

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 година
родитељ
комит
407683fa35
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      src/com/dmdirc/addons/ui_swing/textpane/TextPaneCanvas.java

+ 1
- 1
src/com/dmdirc/addons/ui_swing/textpane/TextPaneCanvas.java Прегледај датотеку

749
                         (bounds.getY() + bounds.getHeight())) {
749
                         (bounds.getY() + bounds.getHeight())) {
750
                     point.setLocation(bounds.getX() + bounds.getWidth() -
750
                     point.setLocation(bounds.getX() + bounds.getWidth() -
751
                             SINGLE_SIDE_PADDING, bounds.getY() +
751
                             SINGLE_SIDE_PADDING, bounds.getY() +
752
-                            bounds.getHeight() - DOUBLE_SIDE_PADDING);
752
+                            bounds.getHeight() - DOUBLE_SIDE_PADDING - 1);
753
                 }
753
                 }
754
             }
754
             }
755
             final LineInfo info = getClickPosition(point);
755
             final LineInfo info = getClickPosition(point);

Loading…
Откажи
Сачувај