cinera_player_pre.js: Remove spurious console.log

This commit is contained in:
Matt Mascarenhas 2021-02-13 00:16:36 +00:00
parent 22633794b5
commit 8283e2a9e5
1 changed files with 0 additions and 6 deletions

View File

@ -168,7 +168,6 @@ GetWidthOfHideableElement(Element, UnhidingClass)
function
ComputeVerticalOffsetForMenu(Menu, Toggler, VideoContainerDimY)
{
console.log("ComputeVerticalOffsetForMenu()");
var Result = 0;
var MenuHeight = GetHeightOfHideableElement(Menu, "visible");
var TogglerHeight = Toggler.offsetHeight;
@ -176,15 +175,11 @@ ComputeVerticalOffsetForMenu(Menu, Toggler, VideoContainerDimY)
var TogglerOffset = Toggler.offsetTop;
var Result = TogglerOffset + (TogglerHeight / 2) - (MenuHeight / 2);
console.log("Lower Point (0): " + (Result + MenuHeight));
console.log("VideoContainerDimY (0): " + VideoContainerDimY);
var LowerProtrusion = MenuHeight + Result - VideoContainerDimY;
if(LowerProtrusion > 0)
{
Result -= LowerProtrusion;
}
console.log("Lower Point (1): " + (Result + MenuHeight));
console.log("VideoContainerDimY (1): " + VideoContainerDimY);
if(Result < 0)
{
@ -1333,7 +1328,6 @@ function handleKey(key) {
if(focusedElement.classList.contains("support"))
{
focusedElement.classList.remove("focused");
console.log(focusedElement);
unfocusSprite(focusedElement);
lastFocusedCreditItem = focusedElement.previousElementSibling;