Skip to content

Commit

Permalink
The default game background is now grid-patterned.
Browse files Browse the repository at this point in the history
  • Loading branch information
luizbills committed Jul 20, 2024
1 parent 11be823 commit 20a0546
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 63 deletions.
130 changes: 68 additions & 62 deletions public/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/sw.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const cacheName = "luizbills.litecanvas-editor-v1";
const version = "1.63.0";
const version = "1.64.0";

const precacheResources = [
"/",
Expand Down
6 changes: 6 additions & 0 deletions src/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ export default function template(library, game) {
#err-tip code {
background: rgba(0,0,0,.2);
}
canvas {
background-image: repeating-conic-gradient(#fefefe 0% 25%, #ddd 0% 50%);
background-position: 0 0, 0px 0px;
background-size: 48px 48px;
}
</style>
</head>
<body>
Expand Down

0 comments on commit 20a0546

Please sign in to comment.