Skip to content

Commit

Permalink
Fixed letter displays failing on GS state change.
Browse files Browse the repository at this point in the history
  • Loading branch information
PoneyClairDeLune committed Sep 24, 2024
1 parent 216ac6c commit df69135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/disp/disp_sc8850.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ let Sc8850Display = class extends RootDisplay {
break;
};
};
if (timeNow >= sum.letter.expire) {
if (timeNow >= sum.letter.expire || (upThis.#mode == "gs" || upThis.#mode == "sc")) {
upThis.font56.getStr("123456789\x80\x81\x82\x83\x84\x85\x86").forEach((e0, i0) => {
let offsetX = i0 * 6;
e0.forEach((e1, i1) => {
Expand Down

0 comments on commit df69135

Please sign in to comment.