Przeglądaj źródła

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 rok temu
rodzic
commit
5efeadbb7e
1 zmienionych plików z 1 dodań i 1 usunięć
  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