mirror of
https://github.com/pretix/pretix.git
synced 2026-10-01 19:14:43 +00:00
PDF Editor: select newly created element after insert
This commit is contained in:
@@ -590,6 +590,10 @@ var editor = {
|
||||
if (editor._window_loaded) {
|
||||
editor._ready()
|
||||
}
|
||||
|
||||
editor.fabric.on('object:added', function(e) {
|
||||
editor.fabric.setActiveObject(e.target);
|
||||
})
|
||||
},
|
||||
|
||||
_window_load_event: function () {
|
||||
|
||||
Reference in New Issue
Block a user