mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Add dialog form description tooltips
This commit is contained in:
parent
6677fb0d2f
commit
77f7594d78
@ -13,6 +13,9 @@ function buildForm(dialog) {
|
||||
bar.append(`<label class="name_space_left" for="${form_id}">${tl(data.label)+(data.nocolon?'':':')}</label>`)
|
||||
dialog.max_label_width = Math.max(getStringWidth(tl(data.label)), dialog.max_label_width)
|
||||
}
|
||||
if (data.description) {
|
||||
bar.attr('title', tl(data.description))
|
||||
}
|
||||
var input_element;
|
||||
|
||||
switch (data.type) {
|
||||
|
Loading…
Reference in New Issue
Block a user