From 3615f37b746ed8fa5778f8d68db66aa0904b6991 Mon Sep 17 00:00:00 2001 From: greggman Date: Mon, 4 Dec 2023 19:34:46 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20greggman?= =?UTF-8?q?/muigui@0d0b90ee5f7b2ef9b027805a514270abf34ceeb5=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/0.x/muigui.js | 2 +- dist/0.x/muigui.module.js | 2 +- examples/js/index/index.js | 3 +++ package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/dist/0.x/muigui.js b/dist/0.x/muigui.js index 6883404..8e921ed 100644 --- a/dist/0.x/muigui.js +++ b/dist/0.x/muigui.js @@ -1,4 +1,4 @@ -/* muigui@0.0.15, license MIT */ +/* muigui@0.0.16, license MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : diff --git a/dist/0.x/muigui.module.js b/dist/0.x/muigui.module.js index 468c4af..48c3a92 100644 --- a/dist/0.x/muigui.module.js +++ b/dist/0.x/muigui.module.js @@ -1,4 +1,4 @@ -/* muigui@0.0.15, license MIT */ +/* muigui@0.0.16, license MIT */ var css = { default: ` .muigui { diff --git a/examples/js/index/index.js b/examples/js/index/index.js index 358cabb..5cc194d 100644 --- a/examples/js/index/index.js +++ b/examples/js/index/index.js @@ -13,6 +13,9 @@ function render(time) { time *= 0.001; twgl.resizeCanvasToDisplaySize(canvas); + gl.disable(gl.SCISSOR_TEST); + gl.clearColor(0, 0, 0, 0); + gl.clear(gl.COLOR_BUFFER_BIT); canvas.style.transform = `translateX(${window.scrollX}px) translateY(${window.scrollY}px)`; diff --git a/package-lock.json b/package-lock.json index 9cc52d8..ee71c44 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "muigui", - "version": "0.0.15", + "version": "0.0.16", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "muigui", - "version": "0.0.15", + "version": "0.0.16", "license": "MIT", "devDependencies": { "@rollup/plugin-node-resolve": "^15.0.1", diff --git a/package.json b/package.json index feeca95..b16b696 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "muigui", - "version": "0.0.15", + "version": "0.0.16", "description": "A Simple GUI", "main": "dist/0.x/muigui.js", "module": "dist/0.x/muigui-module.js",