Skip to content

Commit

Permalink
Bugfix: open slash via double click within font overview
Browse files Browse the repository at this point in the history
  • Loading branch information
ollimeier committed Dec 15, 2024
1 parent e75682d commit c12e8c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fontra/views/fontoverview/fontoverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@ export class FontOverviewController {
location: userLocation,
};
if (codePoints.length) {
viewInfo.text = String.fromCharCode(codePoints[0]);
viewInfo.text =
0x002f === codePoints[0] ? "//" : String.fromCharCode(codePoints[0]);
} else {
viewInfo.text = `/${glyphName}`;
}
Expand Down

0 comments on commit c12e8c7

Please sign in to comment.