From: Vincent Vanwaelscappel Date: Thu, 21 Mar 2024 09:01:49 +0000 (+0100) Subject: wip #6800 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8872c212f9bf6eb5b743308e4984cbc6a5aee981;p=fluidbook-html5.git wip #6800 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.links.js b/js/libs/fluidbook/fluidbook.links.js index 2983929e..c7be5b1c 100644 --- a/js/libs/fluidbook/fluidbook.links.js +++ b/js/libs/fluidbook/fluidbook.links.js @@ -326,7 +326,6 @@ FluidbookLinks.prototype = { hide.push(id); } }); - console.log('showhide', showid, hide); } else { showid = ids; } @@ -372,7 +371,6 @@ FluidbookLinks.prototype = { $.each(showid, function (k, id) { selector += ':not([data-id$="' + id + '"])'; }); - console.log(selector); $(selector).each(function () { let timeout = hideTimeout; if ($(selector).is('[data-animation-hide]')) { @@ -383,7 +381,6 @@ FluidbookLinks.prototype = { if ($(this).is('[data-zindex]')) { $(this).css('z-index', $(this).data('zindex')); } - console.log('hide ', id); $this.hidePlacedLink(this, timeout); } }); @@ -533,7 +530,6 @@ FluidbookLinks.prototype = { stopLinkById: function (id) { var link = $('.link[data-id="' + id + '"]'); if ($(link).length === 0) { - console.warn('Link ' + id + ' cant be stopped'); return; } @@ -1164,7 +1160,6 @@ FluidbookLinks.prototype = { if (usegsap) { to.duration = duration; let anim = gsap.fromTo(animatedElement, from, to); - console.log(animatedElement, from, to, anim); let anims = []; if ($(link).data('gsap') !== undefined) { diff --git a/js/libs/fluidbook/fluidbook.loader.js b/js/libs/fluidbook/fluidbook.loader.js index f39ae696..7d7dc526 100644 --- a/js/libs/fluidbook/fluidbook.loader.js +++ b/js/libs/fluidbook/fluidbook.loader.js @@ -783,9 +783,6 @@ FluidbookLoader.prototype = { } else if ($(this).is('[data-image]')) { try { ctx.drawImage(texture, sx, sy, sw, sh, left, top, width, height); - if (scale != 1) { - console.log(scale, '|', sx, sy, sw, sh, '|', tw, th, '|', left, top, width, height); - } } catch (e) { console.warn(texture); }