Explorar el Código

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 hace 1 año
padre
commit
5efeadbb7e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"))
                                     (when (and (not (.contains (.-classList target) "extensions__pdf-hls-area-region"))
                                                (.closest target ".page"))
                                                (.closest target ".page"))
                                       (and e (or (.-metaKey e)
                                       (and e (or (.-metaKey e)
-                                                 (and util/win32? (.-shiftKey e))
+                                                 (.-shiftKey e)
                                                  @*area-mode?)))))
                                                  @*area-mode?)))))
 
 
         reset-coords!           #(do
         reset-coords!           #(do