summaryrefslogtreecommitdiff
path: root/indra/media_plugins/cef
diff options
context:
space:
mode:
authorcallum_linden <none@none>2016-06-02 18:24:15 -0700
committercallum_linden <none@none>2016-06-02 18:24:15 -0700
commit53cc5ba2256af3f70fc9aa69e06a1db0e195079b (patch)
tree652ac5f8ae2ace767b971f9cacb98fc78f73ba68 /indra/media_plugins/cef
parenta24e24fb50e2bbf0a73ccd53ff2ba64124dabeba (diff)
FIX MAINT-6748 content looks correct but page links are flipped vertically
Diffstat (limited to 'indra/media_plugins/cef')
-rw-r--r--indra/media_plugins/cef/media_plugin_cef.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp
index 84fe83408f..be16ff7946 100644
--- a/indra/media_plugins/cef/media_plugin_cef.cpp
+++ b/indra/media_plugins/cef/media_plugin_cef.cpp
@@ -597,6 +597,8 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
S32 x = message_in.getValueS32("x");
S32 y = message_in.getValueS32("y");
+ y = mHeight - y;
+
// only even send left mouse button events to LLCEFLib
// (partially prompted by crash in OS X CEF when sending right button events)
// we catch the right click in viewer and display our own context menu anyway