forked from CGM_Public/pretix_original
PDF editor: Allow Alt+Arrow for small adjustments (Z#23186382) (#4936)
* PDF editor: Allow Alt+Arrow for small adjustments (Z#23186382) * Update src/pretix/static/pretixcontrol/js/ui/editor.js Co-authored-by: Richard Schreiber <schreiber@rami.io> --------- Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
@@ -1115,7 +1115,7 @@ var editor = {
|
||||
},
|
||||
|
||||
_on_keydown: function (e) {
|
||||
var step = e.shiftKey ? editor._mm2px(10) : editor._mm2px(1);
|
||||
var step = editor._mm2px(e.shiftKey ? 10 : (e.altKey ? 0.1 : 1));
|
||||
var thing = editor.fabric.getActiveObject();
|
||||
if ($("#source-container").is(':visible')) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user