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",