@@ -264,10 +264,7 @@ let Ns5rDisplay = class extends RootDisplay {
264
264
continue ;
265
265
} ;
266
266
for ( let c = Math . floor ( e / showReduction ) ; c >= 0 ; c -- ) {
267
- let pixX = ( i % 32 ) * 4 + 12 + ( ( i >> 5 ) & 1 ) , pixY = 39 - ( ( ( i >> 5 ) & 1 ) << 1 ) - c - ( ( i >> 6 ) << 3 ) ;
268
- if ( trueMode ) {
269
- pixX ++ ;
270
- } ;
267
+ let pixX = ( i % 32 ) * 4 + 12 + ( ( i >> 5 ) & 1 ) + 1 , pixY = 39 - ( ( ( i >> 5 ) & 1 ) << 1 ) - c - ( ( i >> 6 ) << 3 ) ;
271
268
this . #nmdb[ pixY * 144 + pixX ] = this . #pixelLit;
272
269
this . #nmdb[ pixY * 144 + pixX + 1 ] = this . #pixelLit;
273
270
this . #nmdb[ pixY * 144 + pixX + 2 ] = this . #pixelLit;
@@ -342,7 +339,7 @@ let Ns5rDisplay = class extends RootDisplay {
342
339
// White bounding box
343
340
for ( let i = 0 ; i < 777 ; i ++ ) {
344
341
let x = i % 37 , y = Math . floor ( i / 37 ) ;
345
- let realX = x + 77 + ( + trueMode ) , realY = y + 19 ;
342
+ let realX = x + 78 , realY = y + 19 ;
346
343
// Top and bottom borders
347
344
if (
348
345
( y == 0 && x < 36 ) ||
@@ -359,7 +356,7 @@ let Ns5rDisplay = class extends RootDisplay {
359
356
let colUnit = ( sum . bitmap . bitmap . length == 512 ) ? 1 : 2 ;
360
357
for ( let i = 0 ; i < 512 ; i += colUnit ) {
361
358
let x = i & 31 , y = i >> 5 ;
362
- let realX = x + 79 + ( + trueMode ) , realY = y + 21 ;
359
+ let realX = x + 80 , realY = y + 21 ;
363
360
this . #nmdb[ realY * 144 + realX ] = sum . bitmap . bitmap [ i / colUnit ] ? this . #pixelLit : this . #pixelOff;
364
361
if ( colUnit == 2 ) {
365
362
this . #nmdb[ realY * 144 + realX + 1 ] = sum . bitmap . bitmap [ i / colUnit ] ? this . #pixelLit : this . #pixelOff;
@@ -390,11 +387,11 @@ let Ns5rDisplay = class extends RootDisplay {
390
387
let circle = 2 * Math . PI ;
391
388
for ( let c = 1 ; c < 33 ; c ++ ) {
392
389
if ( c == 1 || c == 32 || c % 5 == 0 ) {
393
- ctx . fillText ( `${ c } ` , 24 * c + 58 , 262 ) ;
390
+ ctx . fillText ( `${ c } ` , 24 * c + 64 , 262 ) ;
394
391
} else {
395
392
ctx . beginPath ( ) ;
396
393
ctx . ellipse (
397
- 24 * c + 58 ,
394
+ 24 * c + 64 ,
398
395
258 ,
399
396
2 , 2 ,
400
397
0 , 0 , circle
0 commit comments