diff options
author | Eugene Sandulenko | 2017-08-07 12:28:43 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-07 12:28:43 +0200 |
commit | 65265d87d7926bcf2c6d87e9caf0d69fc4dce3d6 (patch) | |
tree | 0016d0862a12c461db85000f462b29f69b08ad09 /graphics | |
parent | 7896e9572fe538f3115bcf54e6b0eb229e709c44 (diff) | |
download | scummvm-rg350-65265d87d7926bcf2c6d87e9caf0d69fc4dce3d6.tar.gz scummvm-rg350-65265d87d7926bcf2c6d87e9caf0d69fc4dce3d6.tar.bz2 scummvm-rg350-65265d87d7926bcf2c6d87e9caf0d69fc4dce3d6.zip |
GRAPHICS: MACGUI: Fix selection visual feedback
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/macgui/mactextwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp index 944eebdcc3..905eaa5168 100644 --- a/graphics/macgui/mactextwindow.cpp +++ b/graphics/macgui/mactextwindow.cpp @@ -344,7 +344,7 @@ bool MacTextWindow::processEvent(Common::Event &event) { } void MacTextWindow::startMarking(int x, int y) { - x -= getInnerDimensions().left; + x -= getInnerDimensions().left - 2; y -= getInnerDimensions().top; y += _scrollPos; @@ -357,7 +357,7 @@ void MacTextWindow::startMarking(int x, int y) { } void MacTextWindow::updateTextSelection(int x, int y) { - x -= getInnerDimensions().left; + x -= getInnerDimensions().left - 2; y -= getInnerDimensions().top; y += _scrollPos; |