Skip to content
Snippets Groups Projects
Commit 53cc5ba2 authored by callum_linden's avatar callum_linden
Browse files

FIX MAINT-6748 content looks correct but page links are flipped vertically

parent a24e24fb
No related branches found
No related tags found
No related merge requests found
...@@ -597,6 +597,8 @@ void MediaPluginCEF::receiveMessage(const char* message_string) ...@@ -597,6 +597,8 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
S32 x = message_in.getValueS32("x"); S32 x = message_in.getValueS32("x");
S32 y = message_in.getValueS32("y"); S32 y = message_in.getValueS32("y");
y = mHeight - y;
// only even send left mouse button events to LLCEFLib // only even send left mouse button events to LLCEFLib
// (partially prompted by crash in OS X CEF when sending right button events) // (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 // we catch the right click in viewer and display our own context menu anyway
......
...@@ -911,7 +911,7 @@ void LLMediaCtrl::convertInputCoords(S32& x, S32& y) ...@@ -911,7 +911,7 @@ void LLMediaCtrl::convertInputCoords(S32& x, S32& y)
} }
x = ll_round((F32)x * LLUI::getScaleFactor().mV[VX]); x = ll_round((F32)x * LLUI::getScaleFactor().mV[VX]);
if ( ! coords_opengl ) if ( coords_opengl )
{ {
y = ll_round((F32)(y) * LLUI::getScaleFactor().mV[VY]); y = ll_round((F32)(y) * LLUI::getScaleFactor().mV[VY]);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment