From 91316d36e0920663a1f1fd9d5b43d1aa1052d612 Mon Sep 17 00:00:00 2001 From: Christian Swinehart Date: Fri, 8 Nov 2024 01:37:35 -0500 Subject: [PATCH] include `engine` in canvas's toString repr --- lib/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 29c24eb9..62017a7b 100644 --- a/lib/index.js +++ b/lib/index.js @@ -492,8 +492,8 @@ class Canvas extends RustClass{ [REPR](depth, options) { - let {width, height, async, gpu, pages} = this - return `Canvas ${inspect({width, height, async, gpu, pages}, options)}` + let {width, height, gpu, engine, pages} = this + return `Canvas ${inspect({width, height, gpu, engine, pages}, options)}` } }