From 9394a2f29b4eb4a330fd8286cc75c8c86b914b52 Mon Sep 17 00:00:00 2001 From: JannisX11 Date: Sat, 11 Dec 2021 17:01:23 +0100 Subject: [PATCH] Fix #1200 Missing slider translation Fix #1204 cannot escape action control settings dialog --- js/interface/actions.js | 2 +- js/undo.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/interface/actions.js b/js/interface/actions.js index 2d8378a1..2a9105ae 100644 --- a/js/interface/actions.js +++ b/js/interface/actions.js @@ -2615,7 +2615,7 @@ const ActionControl = { return this.select(...args); }, hide() { - open_interface = false; + if (open_interface == ActionControl) open_interface = false; ActionControl.open = false; }, confirm(e) { diff --git a/js/undo.js b/js/undo.js index b6d1c90a..cf980f9d 100644 --- a/js/undo.js +++ b/js/undo.js @@ -111,6 +111,7 @@ class UndoSystem { let slider = new NumSlider({ id: 'amend_edit_slider', + name: tl(form_line.label), private: true, onChange: updateValue, settings: {