mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-02-17 16:20:13 +08:00
Fix dialog form updating issue
This commit is contained in:
parent
a14448bf88
commit
2aea22ed1f
@ -782,8 +782,8 @@ Interface.CustomElements.SelectInput = function(id, data) {
|
||||
icon: val.icon || ((value == key) ? 'far.fa-dot-circle' : 'far.fa-circle'),
|
||||
color: val.color,
|
||||
condition: val.condition,
|
||||
click: (e) => {
|
||||
setKey(key, options, e);
|
||||
click: (context, event) => {
|
||||
setKey(key, options, event || 1);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user