Various small fixes

This commit is contained in:
Pieter Vander Vennet 2020-08-07 00:45:33 +02:00
parent 2bfeb67a3a
commit bd43e2537f
8 changed files with 32 additions and 18 deletions

View file

@ -68,7 +68,9 @@ export class SimpleAddUI extends UIElement {
() => {
self.confirmButton = new SubtleButton(preset.icon,
new Combine([
"<b>",
Translations.t.general.add.confirmButton.Subs({category: preset.title}),
"</b><br/>",
preset.description !== undefined ? preset.description : ""]));
self.confirmButton.onClick(self.CreatePoint(preset.tags, layer));
self._confirmPreset.setData({