fix: remove the weird scrollbar

- Bump electron version to v38
- Remove `FluentScrollbar`
This commit is contained in:
JellyBrick
2025-07-13 16:06:46 +09:00
parent c79fc799b2
commit cf80dd396c
3 changed files with 31 additions and 16 deletions

View File

@ -126,6 +126,8 @@ app.commandLine.appendSwitch(
'enable-features',
'OverlayScrollbar,SharedArrayBuffer,UseOzonePlatform,WaylandWindowDecorations',
);
// Disable Fluent Scrollbar (for OverlayScrollbar)
app.commandLine.appendSwitch('disable-features', 'FluentScrollbar');
if (config.get('options.disableHardwareAcceleration')) {
if (is.dev()) {
console.log('Disabling hardware acceleration');