Просмотр исходного кода

fix(pdf): shift+mouse not invoking area highlight on Linux (#10973)

* fix(pdf): shift+mouse not invoking area highlight on Linux

* fix typo

---------

Co-authored-by: Charlie <[email protected]>
e-zz 1 год назад
Родитель
Сommit
5efeadbb7e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/frontend/extensions/pdf/core.cljs

+ 1 - 1
src/main/frontend/extensions/pdf/core.cljs

@@ -415,7 +415,7 @@
                                     (when (and (not (.contains (.-classList target) "extensions__pdf-hls-area-region"))
                                                (.closest target ".page"))
                                       (and e (or (.-metaKey e)
-                                                 (and util/win32? (.-shiftKey e))
+                                                 (.-shiftKey e)
                                                  @*area-mode?)))))
 
         reset-coords!           #(do