mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix(electron): whitescreen issue (#7742)
1. non-blurred mode whitescreen issue 2. should not close tab with cmd+w for pinned tabs
This commit is contained in:
@@ -316,7 +316,7 @@ export class WebContentViewsManager {
|
||||
};
|
||||
|
||||
closeTab = async (id?: string) => {
|
||||
if (!id) {
|
||||
if (!id && !this.activeWorkbenchMeta?.pinned) {
|
||||
id = this.activeWorkbenchId;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user