feat: emit always-on-top-changed on macOS (#19462)
* feat: emit always-on-top-changed on macOS * update event emission test for macos
This commit is contained in:
parent
50c7eb58a1
commit
6c9d40ec33
3 changed files with 8 additions and 3 deletions
|
@ -1080,7 +1080,7 @@ describe('BrowserWindow module', () => {
|
|||
expect(w.isAlwaysOnTop()).to.be.true('is not alwaysOnTop')
|
||||
})
|
||||
|
||||
ifit(process.platform !== 'darwin')('causes the right value to be emitted on `always-on-top-changed`', (done) => {
|
||||
it('causes the right value to be emitted on `always-on-top-changed`', (done) => {
|
||||
w.on('always-on-top-changed', (e, alwaysOnTop) => {
|
||||
expect(alwaysOnTop).to.be.true('is not alwaysOnTop')
|
||||
done()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue