1
0
Эх сурвалжийг харах

Revert "disable blink features"

This reverts commit 5fd10fde64e6dcc1d9adc0f394c22f4f47a7d7a0.
Konstantinos Kaloutas 2 жил өмнө
parent
commit
fa6aca7a75

+ 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")))