From 9fac2968c261a7418726d3db74a93d5c0d2bdf7f Mon Sep 17 00:00:00 2001 From: Andrey Kuvshinov Date: Wed, 29 Apr 2020 15:07:29 +0300 Subject: [PATCH] scale = 1.5 --- app/pub/scripts/anviewer.js | 2 +- app/views/layout.phtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/pub/scripts/anviewer.js b/app/pub/scripts/anviewer.js index 76ea4be..96d47f2 100644 --- a/app/pub/scripts/anviewer.js +++ b/app/pub/scripts/anviewer.js @@ -15,7 +15,7 @@ function renderPage() { var canvas = document.getElementById('the-canvas'); var context = canvas.getContext('2d'); //var viewport = page.getViewport({scale: scale}); - var viewport = page.getViewport({scale: 1}); + var viewport = page.getViewport({scale: 1.5}); canvas.height = viewport.height; diff --git a/app/views/layout.phtml b/app/views/layout.phtml index eafd7e0..f7fe47d 100644 --- a/app/views/layout.phtml +++ b/app/views/layout.phtml @@ -2,7 +2,7 @@ Еженедельник Аргументы Недели - <?=$title?> - +