d-bl / GroundForge

Bobbin Lace Diagrams : threads from pairs
https://d-bl.github.io/GroundForge/
GNU General Public License v3.0
12 stars 7 forks source link

Download #188

Closed jo-pol closed 3 years ago

jo-pol commented 3 years ago

Fixes issue #187

Description / purpose of the changes

The download icon launches the download on a mouse click and creates a download link on a tap. When the download link is tapped in turn it launches the download and disappears again.

So far, this two stage process enables downloads for the primary thread diagrams on an iPad. You can try the experimental version on https://jo-pol.github.io/GroundForge/tiles and compare behavior with https://d-bl.github.io/GroundForge/tiles

The implementation of the Inkscape template download (in the pattern definition caption) still has a problem. Since Inkscape is not available for iOS nor Android, there doesn't seem to be a purpose.

Some device/browser combinations try to store the downloads in the photo section of the device. Consequently they can't open the download as it is a vector based drawing, not a pixel based photograph. Some suggest to open directly in the browser but still seem to fail. Not sure the downloads can be made available for third party editors on tablets.

Notify

@d-bl/gf

jo-pol commented 3 years ago

How it currently looks on an iPad https://user-images.githubusercontent.com/10553630/109391272-7854d900-7916-11eb-9a65-c35cb052d234.mp4