mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-02 17:23:40 -05:00
add title for color box (#19121)
This commit is contained in:
@@ -41,6 +41,7 @@ export class Colorbox extends Widget {
|
||||
}
|
||||
if (opts.label) {
|
||||
this.domNode.setAttribute('aria-label', opts.label);
|
||||
this.domNode.title = opts.label;
|
||||
}
|
||||
|
||||
container.appendChild(this.domNode);
|
||||
|
||||
@@ -193,7 +193,7 @@ export class ServerGroupDialog extends Modal {
|
||||
const colorColorBox = new Colorbox(container, {
|
||||
name: 'server-group-color',
|
||||
class: ['server-group-color'],
|
||||
label: `Colobox Color: ${color}`,
|
||||
label: localize('serverGroup.colorValue', "Color: {0}", color),
|
||||
});
|
||||
|
||||
this._register(colorColorBox.onSelect((viaKeyboard) => {
|
||||
|
||||
Reference in New Issue
Block a user