Skip to content

Commit

Permalink
Apply language code
Browse files Browse the repository at this point in the history
  • Loading branch information
fatih-erikli committed Dec 14, 2023
1 parent e7ff7b2 commit 06b1fd8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/fontra/views/editor/panel-reference-font.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,10 @@ export default class ReferenceFontPanel extends Panel {
return;
}

const currentCharacter = div({ class: "current-character" }, []);
const currentCharacter = div(
{ class: "current-character", lang: this.model.languageCode },
[]
);
const rangeSlider = createDomElement("range-slider", {
type: "range",
value: 14,
Expand Down

0 comments on commit 06b1fd8

Please sign in to comment.