mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
remove API handler revoke from main
This commit is contained in:
parent
0984b2f469
commit
861e84535a
2 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ function createWindow () {
|
|||
|
||||
installNativeMessagingHost();
|
||||
|
||||
ipcMain.removeHandler('Api');
|
||||
//ipcMain.removeHandler('Api');
|
||||
ipcMain.handle('Api', (e, id, cmd, args) => {
|
||||
const Api = require('./electron/js/api.js');
|
||||
const win = BrowserWindow.fromId(id);
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
.attachment.isVideo { width: 72px; height: 72px; min-width: unset; display: flex; align-items: center; justify-content: center; }
|
||||
.attachment.isVideo {
|
||||
.mediaVideo { border-radius: inherit; overflow: hidden; width: 100%; height: 100%; }
|
||||
video { width: 100%; display: block; object-fit: cover; }
|
||||
video { width: 100%; height: 100%; display: block; object-fit: cover; }
|
||||
}
|
||||
|
||||
.attachment.isAudio { min-width: unset; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue