Skip to content

Commit 8f81725

Browse files
committed
Fix format
1 parent d49ddc0 commit 8f81725

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

arcgis_map_sdk_web/lib/src/arcgis_map_web_controller.dart

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,16 @@ class ArcgisMapWebController {
264264
final webgl2 = canvasElement?.getContext('webgl2');
265265

266266
if (webgl != null) {
267-
(webgl as WebGLRenderingContext).getCustomExtension('WEBGL_lose_context')?.loseContext();
267+
(webgl as WebGLRenderingContext)
268+
.getCustomExtension('WEBGL_lose_context')
269+
?.loseContext();
268270
webgl.getCustomExtension('WEBGL_lose_context')?.restoreContext();
269271
}
270272

271273
if (webgl2 != null) {
272-
(webgl2 as WebGLRenderingContext).getCustomExtension('WEBGL_lose_context')?.loseContext();
274+
(webgl2 as WebGLRenderingContext)
275+
.getCustomExtension('WEBGL_lose_context')
276+
?.loseContext();
273277
webgl2.getCustomExtension('WEBGL_lose_context')?.restoreContext();
274278
}
275279
}

0 commit comments

Comments
 (0)