[CEF] Catch a missed change for dullahan update. OCDly fix an indentation.
This commit is contained in:
@@ -207,7 +207,10 @@ BOOL LLMediaCtrl::handleScrollWheel( S32 x, S32 y, S32 clicks )
|
|||||||
{
|
{
|
||||||
if (LLPanel::handleScrollWheel(x, y, clicks)) return TRUE;
|
if (LLPanel::handleScrollWheel(x, y, clicks)) return TRUE;
|
||||||
if (mMediaSource && mMediaSource->hasMedia())
|
if (mMediaSource && mMediaSource->hasMedia())
|
||||||
mMediaSource->getMediaPlugin()->scrollEvent(x, y, 0, clicks, gKeyboard->currentMask(TRUE));
|
{
|
||||||
|
convertInputCoords(x, y);
|
||||||
|
mMediaSource->scrollWheel(x, y, 0, clicks, gKeyboard->currentMask(TRUE));
|
||||||
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -566,7 +566,7 @@ void LLPanelPrimMediaControls::updateShape()
|
|||||||
// media_impl->handleKeyHere(KEY_RIGHT, MASK_NONE);
|
// media_impl->handleKeyHere(KEY_RIGHT, MASK_NONE);
|
||||||
break;
|
break;
|
||||||
case SCROLL_NONE:
|
case SCROLL_NONE:
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user