From f3cfe08d1b35adeca9c4604ecaa5c0767d61fc6a Mon Sep 17 00:00:00 2001 From: soufiane Date: Thu, 4 Apr 2024 15:15:48 +0200 Subject: [PATCH] =?utf8?q?wait=20#6788=20@0:10=20mettre=20=C3=A0=20jour=20?= =?utf8?q?la=20preview=20au=20undo=20et=20redo?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- resources/linkeditor/js/linkeditor.undo.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/linkeditor/js/linkeditor.undo.js b/resources/linkeditor/js/linkeditor.undo.js index bbbbf24e1..c59b1b371 100644 --- a/resources/linkeditor/js/linkeditor.undo.js +++ b/resources/linkeditor/js/linkeditor.undo.js @@ -104,6 +104,7 @@ LinkeditorUndo.prototype = { //console.log('undo : current index', index, 'states length', this.states[this.linkeditor.getCurrentPage()].length); this.updateIconsStates(); + this.linkeditor.links.setPreview(); }, redo: function () { @@ -123,6 +124,7 @@ LinkeditorUndo.prototype = { //console.log('redo : current index', index, 'states length', this.states[this.linkeditor.getCurrentPage()].length); this.updateIconsStates(); + this.linkeditor.links.setPreview(); } } -- 2.39.5