动态彩带点击

This commit is contained in:
tangly1024.com
2023-02-03 14:22:38 +08:00
parent 833918f6a8
commit 8621d0b0e4

View File

@@ -136,6 +136,7 @@ function createFlutteringRibbon() {
(this._canvas.style.width = '100%'),
(this._canvas.style.height = '100%'),
(this._canvas.style['z-index'] = '0'),
(this._canvas.style['pointer-events'] = 'none'),
this._onResize(),
(this._context = this._canvas.getContext('2d')),
this._context.clearRect(0, 0, this._width, this._height),