Skip to content

Commit

Permalink
LineHeights
Browse files Browse the repository at this point in the history
  • Loading branch information
luxluth committed Jul 10, 2023
1 parent f3efaf0 commit bf96c37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export class Renderer {
this.ctx.strokeText(line, x, y);
}
this.ctx.fillText(line, x, y);
y += lineHeight;
y += lineHeight + lineHeight / lines.length;
})

this.ctx.lineWidth = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function convertAegisubToRGBA(aegisubColor: string, tags: Tag[]) {

// Create the RGBA string
const rgba = `rgba(${red}, ${green}, ${blue}, ${alpha})`;
console.debug(`Converted ${aegisubColor} to ${rgba}`);
// console.debug(`Converted ${aegisubColor} to ${rgba}`);
return rgba;
}

Expand Down

0 comments on commit bf96c37

Please sign in to comment.