mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 01:35:43 +02:00
[Editor] Make editors movable in using the keyboard (bug 1845088)
Selected editors can be moved in using the arrows: - up/down/left/right will move the editors of 1 in page unit; - ctrl (or meta)+up/down/left/right will move them of 10 in page unit.
This commit is contained in:
parent
48cc67f17e
commit
bb6936c931
8 changed files with 311 additions and 50 deletions
|
@ -157,11 +157,6 @@ class InkEditor extends AnnotationEditor {
|
|||
];
|
||||
}
|
||||
|
||||
/** @inheritdoc */
|
||||
get resizeType() {
|
||||
return AnnotationEditorParamsType.INK_DIMS;
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the thickness and make this action undoable.
|
||||
* @param {number} thickness
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue