修复启用透明窗口鼠标不穿透的bug

This commit is contained in:
lyswhut
2020-01-28 12:38:29 +08:00
parent 1f8b632d95
commit c85a036ac6
2 changed files with 3 additions and 8 deletions
+2 -2
View File
@@ -184,12 +184,12 @@ export default {
music.init()
},
enableIgnoreMouseEvents() {
if (!this.isNt) return
if (this.isNt) return
rendererSend('setIgnoreMouseEvents', false)
// console.log('content enable')
},
dieableIgnoreMouseEvents() {
if (!this.isNt) return
if (this.isNt) return
// console.log('content disable')
rendererSend('setIgnoreMouseEvents', true)
},