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 8e0943f commit 9b6b5a6
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 9b6b5a6

Please sign in to comment.