Skip to content

Commit

Permalink
Fixed #624: Canvas element has better name
Browse files Browse the repository at this point in the history
  • Loading branch information
davesmith00000 committed Nov 5, 2023
1 parent e91c489 commit 283ba2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ final class RendererInitialiser(
.map(id => if id.isEmpty then defaultName else id)
.getOrElse(defaultName)

val name = s"$parentElementId-[indigo-canvas]"
val name = s"$parentElementId-canvas"

createNamedCanvas(width, height, name, Some(parentElement))

Expand Down

0 comments on commit 283ba2b

Please sign in to comment.