mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-26 01:38:11 +08:00
Clean up camelCase and snake_case in frontend code
This commit is contained in:
@@ -19,7 +19,7 @@ export async function initWasm(): Promise<void> {
|
||||
|
||||
// Provide a random starter seed which must occur after initializing the WASM module, since WASM can't generate its own random numbers
|
||||
const randomSeed = BigInt(Math.floor(Math.random() * Number.MAX_SAFE_INTEGER));
|
||||
wasmImport?.set_random_seed(randomSeed);
|
||||
wasmImport?.setRandomSeed(randomSeed);
|
||||
}
|
||||
|
||||
// Should be called after running `initWasm()` and its promise resolving
|
||||
|
||||
Reference in New Issue
Block a user