浏览代码

Revert "disable blink features"

This reverts commit 5fd10fde64e6dcc1d9adc0f394c22f4f47a7d7a0.
Konstantinos Kaloutas 2 年之前
父节点
当前提交
fa6aca7a75
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/electron/electron/window.cljs

+ 3 - 0
src/electron/electron/window.cljs

@@ -38,6 +38,9 @@
                       :webSecurity             (not dev?)
                       :contextIsolation        true
                       :spellcheck              ((fnil identity true) (cfgs/get-item :spell-check))
+                      ;; Remove OverlayScrollbars and transition `.scrollbar-spacing`
+                      ;; to use `scollbar-gutter` after the feature is implemented in browsers.
+                      :enableBlinkFeatures     'OverlayScrollbars'
                       :preload                 (path/join js/__dirname "js/preload.js")}}
                     linux?
                     (assoc :icon (path/join js/__dirname "icons/logseq.png")))