Closed matthew-blackman closed 6 months ago
Immediate reproducible failure in Firefox. launcherPattern1 (at least) has 0 width/height in detectable patterns on startup. Data URI modulified however loads fine in Firefox.
With this patch, I see that Firefox reports a size of 0 in my local unbuilt. Chrome reports 300.
Do you think there is something different in the image loading lifecycle on firefox?
Observations:
@jonathanolson determined that the "width"=
and "height"=
attributes solve this problem. So @matthew-blackman regenerated the images and they look good on firefox. We removed the workaround. Closing.
Added detection for this on the above commit.
This error is only happening on CT, not on our local machines.
When setting the cannon graphics, we want to scale the SVG image to fit the dimensions of the cannon. CT is running into an error caused by an image width of zero for the pattern on the launcher. @samreid and I hard-coded the image width for a temporary fix, but it would be good to figure out why this is happening and if we can fix this in a more general way.