mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix(electron): optimize tab switching (#12518)
fix AF-2670 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Updated styling so that opacity and transition effects apply only when a translucent background is present, enhancing visual precision. - **Chores** - Renamed a data attribute in the app container for improved consistency. - Disabled background throttling for specific views to maintain performance when running in the background. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -818,6 +818,7 @@ export class WebContentViewsManager {
|
||||
preload: join(__dirname, './preload.js'), // this points to the bundled preload module
|
||||
// serialize exposed meta that to be used in preload
|
||||
additionalArguments: additionalArguments,
|
||||
backgroundThrottling: false,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user