Fix #1200 Missing slider translation

Fix #1204 cannot escape action control settings dialog
This commit is contained in:
JannisX11 2021-12-11 17:01:23 +01:00
parent 1552db40fe
commit 9394a2f29b
2 changed files with 2 additions and 1 deletions

View File

@ -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) {

View File

@ -111,6 +111,7 @@ class UndoSystem {
let slider = new NumSlider({
id: 'amend_edit_slider',
name: tl(form_line.label),
private: true,
onChange: updateValue,
settings: {