1
0
Fork 0
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:
Andrew Simachev 2025-04-16 17:45:16 +02:00
parent 0984b2f469
commit 861e84535a
No known key found for this signature in database
GPG key ID: 1DFE44B21443F0EF
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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; }