diff --git a/resources/glyphEditor.html b/resources/glyphEditor.html index f612aef84ef90941b443f4d19b0802380b884e4f..e6742ab99f7b02c59aa7cfa9f26091f96163aacf 100644 --- a/resources/glyphEditor.html +++ b/resources/glyphEditor.html @@ -57,6 +57,9 @@ SOFTWARE. #chars th[action] { cursor:pointer; } + #chars th[action="up"], #chars th[action="down"], #chars th[action="left"], #chars th[action="right"] { + font-size: 10px; + } #chars td.on { background-color: #CCC; } @@ -400,12 +403,13 @@ const char My_Font[] PROGMEM = { case 'up': pixels = currentContainer.getElementsByTagName('td'); for(p = 0; p < pixels.length; p++) { - if(p < (font.width - 1)*font.height) { + if(p < font.width*(font.height -1)) { pixels[p].className = pixels[p + font.width].className; } else { pixels[p].className = ''; } - } break; + } + break; case 'toggle': Font.togglePixel(target);