From 75d6cfb77bf5d75df0a9498d546120019e9e522e Mon Sep 17 00:00:00 2001 From: sz Date: Sun, 30 Jun 2024 20:00:00 -0500 Subject: [PATCH] Some tiny css tweaks for the 0.6.1f release Using innerHeight instead of outer, and getting rid of a white border that showed up in testing. --- web/main.js | 4 ++-- web/sw.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/main.js b/web/main.js index efdbe24..b89eade 100644 --- a/web/main.js +++ b/web/main.js @@ -59,8 +59,8 @@ return { { // reset zoom var canvas = document.getElementById('canvas'); - var width = window.innerWidth - 12; - var height = window.outerHeight - 12; + var width = window.innerWidth - 10; + var height = window.innerHeight - 10; Main.scaleCanvas(canvas, width, height); Main.alignInvisibleClick(canvas); }, diff --git a/web/sw.js b/web/sw.js index 483260c..600fc79 100644 --- a/web/sw.js +++ b/web/sw.js @@ -1,5 +1,5 @@ -var _cacheName = 'cimbar-js-v0.6.0'; +var _cacheName = 'cimbar-js-v0.6.1'; var _cacheFiles = [ '/', '/index.html',