Merge branch 'develop' into accessible_ui

This commit is contained in:
Martin Raifer
2021-12-07 16:06:56 +01:00
140 changed files with 2047 additions and 878 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ export function uiToolSave(context) {
.style('background', bgColor(_numChanges));
button.select('span.count')
.html(_numChanges);
.text(_numChanges);
}
}
@@ -112,7 +112,7 @@ export function uiToolSave(context) {
.append('span')
.attr('class', 'count')
.attr('aria-hidden', 'true')
.html('0');
.text('0');
updateCount();
+2 -2
View File
@@ -85,8 +85,8 @@ export function uiToolUndoRedo(context) {
// there are no tooltips for touch interactions so flash feedback instead
var text = annotation ?
t(d.id + '.tooltip', { action: annotation }) :
t(d.id + '.nothing');
t.html(d.id + '.tooltip', { action: annotation }) :
t.html(d.id + '.nothing');
context.ui().flash
.duration(2000)
.iconName('#' + d.icon)