mirror of
https://github.com/trafficlunar/blockmatic.git
synced 2026-06-28 06:34:13 +00:00
feat: part 1 of redesign of open image dialog
This commit is contained in:
parent
0c8c4b1870
commit
25f519074a
7 changed files with 383 additions and 66 deletions
|
|
@ -27,7 +27,7 @@ export const TexturesProvider = ({ children }: Props) => {
|
|||
const [solidTextures, setSolidTextures] = useState<Record<string, PIXI.Texture>>({});
|
||||
|
||||
useEffect(() => {
|
||||
// Load missing texture
|
||||
// Load missing texture through data string just incase of network errors
|
||||
const missingBaseTexture = new PIXI.BaseTexture(
|
||||
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGUlEQVR42mPABX4w/MCKaKJhVMPgcOuoBgDZRfgBVl5QdQAAAABJRU5ErkJggg=="
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue