mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-08 23:16:54 +00:00
修复樱花特效
This commit is contained in:
@@ -123,7 +123,7 @@ function createSakura() {
|
|||||||
'style',
|
'style',
|
||||||
'position: fixed;left: 0;top: 0;pointer-events: none;'
|
'position: fixed;left: 0;top: 0;pointer-events: none;'
|
||||||
)
|
)
|
||||||
canvas.setAttribute('id', id)
|
canvas.setAttribute('id', 'sakura')
|
||||||
document.getElementsByTagName('body')[0].appendChild(canvas)
|
document.getElementsByTagName('body')[0].appendChild(canvas)
|
||||||
cxt = canvas.getContext('2d')
|
cxt = canvas.getContext('2d')
|
||||||
var sakuraList = new SakuraList()
|
var sakuraList = new SakuraList()
|
||||||
|
|||||||
Reference in New Issue
Block a user