mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
Enhance/pdf (#2855)
* feat(pdf): add go to annations page to pdf viewer toolbar * improve(pdf): try to fix highlight selection blink * improve(pdf): remove annations layer * fix(pdf): try to fix selection blink * Squashed commit of the following: commit995fba8623Author: Tienson Qin <tiensonqin@gmail.com> Date: Thu Sep 16 13:59:08 2021 +0800 fix: disable plugins on the Web commitd6a011fd35Author: Tienson Qin <tiensonqin@gmail.com> Date: Thu Sep 16 12:31:01 2021 +0800 enhance(perf): add :ref/linked-references-collapsed-threshold option Related to #2792 commitf59f59b9aeAuthor: Tienson Qin <tiensonqin@gmail.com> Date: Wed Sep 15 21:47:05 2021 +0800 enhance: don't overwrite logseq's file if changes from journal file is empty or the default template content. To prevent overwritten when using iCloud/OneDrive/GDrive. commitf5cdfaa2f1Author: Tienson Qin <tiensonqin@gmail.com> Date: Wed Sep 15 20:59:10 2021 +0800 fix: add command-palette/toggle commitae25bb387fAuthor: Tienson Qin <tiensonqin@gmail.com> Date: Wed Sep 15 20:57:57 2021 +0800 fix: add both Cmd+! and Cmd+Shift+p to configurable shortcuts commitb20d29f813Author: Tienson Qin <tiensonqin@gmail.com> Date: Wed Sep 15 17:12:20 2021 +0800 fix: don't count as failed writes if content from the disk is not matched to the content in logseq commitac89a36ab0Author: Tienson Qin <tiensonqin@gmail.com> Date: Wed Sep 15 14:31:48 2021 +0800 chore: bump mldoc commitc7128dfc87Author: Tienson Qin <tiensonqin@gmail.com> Date: Wed Sep 15 12:31:11 2021 +0800 enhance: text update commitd965394be2Author: Tienson Qin <tiensonqin@gmail.com> Date: Wed Sep 15 11:28:39 2021 +0800 feat: add namespace query support commit4f1402ea42Author: Tienson Qin <tiensonqin@gmail.com> Date: Wed Sep 15 09:52:56 2021 +0800 enhance: remove the plus icon for switching graphs commit3550e4bbf0Author: Gustavo Santos <gustavofsantos@outlook.com> Date: Tue Sep 14 13:43:57 2021 -0300 fix: set aria-checked to "true" if toggle is on commit640d447b3bAuthor: Tienson Qin <tiensonqin@gmail.com> Date: Wed Sep 15 09:48:47 2021 +0800 debug: disable cache node modules temporally commit6ab7f44f5fAuthor: Tienson Qin <tiensonqin@gmail.com> Date: Wed Sep 15 00:01:14 2021 +0800 enhance: marketplace polish commit07063f1592Author: charlie <xyhp915@qq.com> Date: Tue Sep 14 18:27:06 2021 +0800 fix(plugin): restart app not work commit7b909704abAuthor: charlie <xyhp915@qq.com> Date: Tue Sep 14 15:43:30 2021 +0800 fix(ui): broken width for plugins page when toggling widen mode commitd456ed7823Author: charlie <xyhp915@qq.com> Date: Tue Sep 14 15:36:32 2021 +0800 enhance(plugin): polish marketplace ui * fix(pdf): try to fix horizontal scroller when viewer overflow * fix(pdf): make text selectable for embed highlight range * feat(pdf): pager of viewer on toolbar * fix: conflicts * improve(pdf): register shortcuts for pager * improve(pdf): try to fix area image blurry for high dpi screen * improve(pdf): support dashed style for area highlight * fix(pdf): change shortcuts for win32
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
(ns frontend.modules.shortcut.config
|
||||
(:require [frontend.components.commit :as commit]
|
||||
[frontend.extensions.srs.handler :as srs]
|
||||
[frontend.extensions.pdf.utils :as pdf-utils]
|
||||
[frontend.handler.config :as config-handler]
|
||||
[frontend.handler.editor :as editor-handler]
|
||||
[frontend.handler.history :as history]
|
||||
@@ -37,6 +38,17 @@
|
||||
:binding "down"
|
||||
:fn ui-handler/shortcut-next-week}}
|
||||
|
||||
:shortcut.handler/pdf
|
||||
^{:before m/prevent-default-behavior}
|
||||
{:pdf/previous-page
|
||||
{:desc "Previous page of current pdf doc"
|
||||
:binding "ctrl+p"
|
||||
:fn pdf-utils/prev-page}
|
||||
:pdf/next-page
|
||||
{:desc "Next page of current pdf doc"
|
||||
:binding "ctrl+n"
|
||||
:fn pdf-utils/next-page}}
|
||||
|
||||
:shortcut.handler/auto-complete
|
||||
{:auto-complete/complete
|
||||
{:desc "Auto-complete: Choose selected item"
|
||||
|
||||
Reference in New Issue
Block a user