From 3b4e2be2c47a344318108173d36e25d0dea83cbf Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 25 Aug 2017 20:25:02 +0200 Subject: [PATCH] #811 --- js/libs/fluidbook/fluidbook.search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/libs/fluidbook/fluidbook.search.js b/js/libs/fluidbook/fluidbook.search.js index ef7fc268..b5d1829e 100644 --- a/js/libs/fluidbook/fluidbook.search.js +++ b/js/libs/fluidbook/fluidbook.search.js @@ -200,7 +200,7 @@ FluidbookSearch.prototype = { } var padding = position.height * 0.2; - var z = this.fluidbook.datas.pageZoomFactor * 1.19; + var z = this.fluidbook.datas.cssScale; var h = $('
'); var coords = {top: (position.y - position.height - padding * 2) * z, left: (position.x - padding) * z + offset, width: (width + 2 * padding) * z, height: (position.height + padding * 3) * z}; var hash = coords.top + '|' + coords.left + '|' + coords.width + '|' + coords.height; -- 2.39.5