mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-27 08:48:46 +00:00
Add cube texture to transformation tool
This commit is contained in:
@@ -179,7 +179,7 @@ export async function fetchResources(versionId: VersionId) {
|
||||
}
|
||||
}
|
||||
|
||||
async function loadImage(src: string) {
|
||||
export async function loadImage(src: string) {
|
||||
return new Promise<HTMLImageElement>(res => {
|
||||
const image = new Image()
|
||||
image.onload = () => res(image)
|
||||
|
||||
Reference in New Issue
Block a user