Use patched frameless-titlebar on Windows
This commit is contained in:
parent
79c52847cd
commit
5634601554
54 changed files with 1343 additions and 323 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { contextBridge, ipcRenderer } from 'electron';
|
||||
import { contextBridge } from 'electron';
|
||||
|
||||
import { SignalContext } from '../context';
|
||||
|
||||
|
@ -40,7 +40,7 @@ contextBridge.exposeInMainWorld('SignalContext', {
|
|||
}
|
||||
|
||||
function onClose() {
|
||||
ipcRenderer.send('close-permissions-popup');
|
||||
SignalContext.executeMenuRole('close');
|
||||
}
|
||||
|
||||
ReactDOM.render(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue