File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const solanaMetadata = {
2424// If you have selected Solana then the collection starts from 0 automatically
2525const layerConfigurations = [
2626 {
27- growEditionSizeTo : 5 ,
27+ growEditionSizeTo : 100 ,
2828 layersOrder : [
2929 { name : "Background" } ,
3030 { name : "Eyeball" } ,
Original file line number Diff line number Diff line change @@ -177,10 +177,15 @@ const addAttributes = (_element) => {
177177} ;
178178
179179const loadLayerImg = async ( _layer ) => {
180- return new Promise ( async ( resolve ) => {
180+ try {
181181 const image = await loadImage ( `${ _layer . selectedElement . path } ` ) ;
182- resolve ( { layer : _layer , loadedImage : image } ) ;
183- } ) ;
182+ return {
183+ layer : _layer ,
184+ loadedImage : image ,
185+ } ;
186+ } catch ( error ) {
187+ console . error ( "Error loading image:" , error ) ;
188+ }
184189} ;
185190
186191const addText = ( _sig , x , y , size ) => {
You can’t perform that action at this time.
0 commit comments