Skip to content

Commit f4e524c

Browse files
committed
chore: Fix canvas ID formatting in UnityControllerWeb for consistency
1 parent 05bcdf6 commit f4e524c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engines/unity/dart/lib/src/unity_controller_web.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class UnityControllerWeb implements GameEngineController {
7070

7171
void _setupContainer() {
7272
_canvas = html.CanvasElement()
73-
..id = '${_containerId}-canvas'
73+
..id = '$_containerId-canvas'
7474
..style.width = '100%'
7575
..style.height = '100%'
7676
..style.display = 'block';

0 commit comments

Comments
 (0)