mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-28 12:36:35 +00:00
Use string templating
This commit is contained in:
parent
162178988f
commit
6befc71488
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ for (const key in FONT_LOOKUP) {
|
|||
if (FONT_LOOKUP.hasOwnProperty(key)) {
|
||||
const position = FONT_LOOKUP[key];
|
||||
characterSprites.push({
|
||||
selectors: ['.character-' + key.charCodeAt(0)],
|
||||
selectors: [`.character-${key.charCodeAt(0)}`],
|
||||
y: position[0] * CHAR_Y,
|
||||
x: position[1] * CHAR_X,
|
||||
width: CHAR_X,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue