win: Fix notify icon and context menu.
This commit is contained in:
parent
b4ba149662
commit
b2afe7b3bf
5 changed files with 17 additions and 11 deletions
|
@ -44,9 +44,7 @@ class MenuItem
|
|||
Object.defineProperty this, name,
|
||||
enumerable: true
|
||||
get: => v8Util.getHiddenValue this, name
|
||||
set: (val) =>
|
||||
v8Util.setHiddenValue this, name, val
|
||||
@menu?._updateStates()
|
||||
set: (val) => v8Util.setHiddenValue this, name, val
|
||||
|
||||
overrideReadOnlyProperty: (name, defaultValue=null) ->
|
||||
this[name] ?= defaultValue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue