mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Transform palette color title to uppercase
This commit is contained in:
parent
b977a146e9
commit
94160d8fc4
@ -57,7 +57,8 @@
|
|||||||
var html = colors.map(function (color, index) {
|
var html = colors.map(function (color, index) {
|
||||||
return pskl.utils.Template.replace(this.paletteColorTemplate_, {
|
return pskl.utils.Template.replace(this.paletteColorTemplate_, {
|
||||||
color : color,
|
color : color,
|
||||||
index : index + 1
|
index : index + 1,
|
||||||
|
title : color.toUpperCase()
|
||||||
});
|
});
|
||||||
}.bind(this)).join('');
|
}.bind(this)).join('');
|
||||||
this.colorListContainer_.innerHTML = html;
|
this.colorListContainer_.innerHTML = html;
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<div class="palettes-list-color"
|
<div class="palettes-list-color"
|
||||||
data-color="{{color}}"
|
data-color="{{color}}"
|
||||||
data-color-index="{{index}}"
|
data-color-index="{{index}}"
|
||||||
title="{{color}}">
|
title="{{title}}">
|
||||||
<div data-color="{{color}}" style="background:{{color}}"></div>
|
<div data-color="{{color}}" style="background:{{color}}"></div>
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user