diff --git a/examples/clay-official-website/build/clay/index.html b/examples/clay-official-website/build/clay/index.html index 497f52a..07eff3f 100644 --- a/examples/clay-official-website/build/clay/index.html +++ b/examples/clay-official-website/build/clay/index.html @@ -314,7 +314,7 @@ const importObject = { clay: { - measureTextFunction: (addressOfDimensions, textToMeasure, addressOfConfig) => { + measureTextFunction: (addressOfDimensions, textToMeasure, addressOfConfig, userData) => { let stringLength = memoryDataView.getUint32(textToMeasure, true); let pointerToString = memoryDataView.getUint32(textToMeasure + 4, true); let textConfig = readStructAtAddress(addressOfConfig, textConfigDefinition); diff --git a/examples/clay-official-website/build/clay/index.wasm b/examples/clay-official-website/build/clay/index.wasm index 9847ded..1ac9753 100755 Binary files a/examples/clay-official-website/build/clay/index.wasm and b/examples/clay-official-website/build/clay/index.wasm differ diff --git a/examples/clay-official-website/index.html b/examples/clay-official-website/index.html index 497f52a..07eff3f 100644 --- a/examples/clay-official-website/index.html +++ b/examples/clay-official-website/index.html @@ -314,7 +314,7 @@ const importObject = { clay: { - measureTextFunction: (addressOfDimensions, textToMeasure, addressOfConfig) => { + measureTextFunction: (addressOfDimensions, textToMeasure, addressOfConfig, userData) => { let stringLength = memoryDataView.getUint32(textToMeasure, true); let pointerToString = memoryDataView.getUint32(textToMeasure + 4, true); let textConfig = readStructAtAddress(addressOfConfig, textConfigDefinition);