Skip to content

Commit cf80dd3

Browse files
committed
fix: remove the weird scrollbar
- Bump electron version to v38 - Remove `FluentScrollbar`
1 parent c79fc79 commit cf80dd3

File tree

3 files changed

+31
-16
lines changed

3 files changed

+31
-16
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
"cross-env": "7.0.3",
152152
"del-cli": "6.0.0",
153153
"discord-api-types": "0.38.15",
154-
"electron": "37.2.1",
154+
"electron": "38.0.0-alpha.5",
155155
"electron-builder": "26.0.12",
156156
"electron-builder-squirrel-windows": "26.0.12",
157157
"electron-devtools-installer": "4.0.0",

pnpm-lock.yaml

Lines changed: 28 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ app.commandLine.appendSwitch(
126126
'enable-features',
127127
'OverlayScrollbar,SharedArrayBuffer,UseOzonePlatform,WaylandWindowDecorations',
128128
);
129+
// Disable Fluent Scrollbar (for OverlayScrollbar)
130+
app.commandLine.appendSwitch('disable-features', 'FluentScrollbar');
129131
if (config.get('options.disableHardwareAcceleration')) {
130132
if (is.dev()) {
131133
console.log('Disabling hardware acceleration');

0 commit comments

Comments
 (0)