Skip to content

Commit

Permalink
Some tiny css tweaks for the 0.6.1f release
Browse files Browse the repository at this point in the history
Using innerHeight instead of outer, and getting rid of a white border
that showed up in testing.
  • Loading branch information
sz3 committed Jul 1, 2024
1 parent 8939668 commit 75d6cfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions web/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
Expand Down
2 changes: 1 addition & 1 deletion web/sw.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

var _cacheName = 'cimbar-js-v0.6.0';
var _cacheName = 'cimbar-js-v0.6.1';
var _cacheFiles = [
'/',
'/index.html',
Expand Down

0 comments on commit 75d6cfb

Please sign in to comment.