@trebco/treb 27.5.2 → 27.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trebco/treb",
3
- "version": "27.5.2",
3
+ "version": "27.5.3",
4
4
  "license": "LGPL-3.0-or-later",
5
5
  "homepage": "https://treb.app",
6
6
  "repository": {
@@ -394,6 +394,9 @@ export class TileRenderer {
394
394
  public RenderColumnLabels(context: CanvasRenderingContext2D, column: number, end: number) {
395
395
 
396
396
  const header_y = this.layout.header_offset.y;
397
+ if (header_y <= 1) {
398
+ return;
399
+ }
397
400
 
398
401
  context.fillStyle = ThemeColor2(this.theme, this.theme.headers?.text, 0);
399
402
 
@@ -418,7 +421,10 @@ export class TileRenderer {
418
421
  public RenderRowLabels(context: CanvasRenderingContext2D, row: number, end: number, block: number) {
419
422
 
420
423
  const header_x = this.layout.header_offset.x;
421
-
424
+ if (header_x <= 1) {
425
+ return;
426
+ }
427
+
422
428
  context.fillStyle = ThemeColor2(this.theme, this.theme.headers?.text, 0);
423
429
 
424
430
  context.beginPath();