Skip to content

Commit

Permalink
Update libs/drawing-engine/src/engine/DrawingEngine.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddenist authored Dec 14, 2023
1 parent d747718 commit 3f14cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/drawing-engine/src/engine/DrawingEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export class DrawingEngine {
return position[0] >= 0 && position[0] <= this.state.width && position[1] >= 0 && position[1] <= this.state.height
}

public draw(drawCallback: () => HistoryEntry | undefined): this {
public draw(drawCallback: () => HistoryItem | undefined): this {
const layer = this.activeDrawingLayer
this.program.createTextureImage(layer, () => {
const drawData = drawCallback()
Expand Down

0 comments on commit 3f14cf2

Please sign in to comment.