Justin Barca
Justin Barca
One can workaround this by using a setTimeout to wait for the first one to close but it would be nice if the call was not ignored and was somehow...
I tried 1.4.3 and it didn't work either so I'm going to try and make it work for 1.5 ... might just be some simple migration modifications
This worked for me, (please notice I removed the respect for maxScale): ``` function zoomToBBox(elem) { var zpdElement = Snap.select('#snapsvg-zpd-'+paper.id); var width = paper.node.clientWidth, height = paper.node.clientHeight, filling = 0.9,...
I created a PR for the code integrated into the plugin as seen here: https://github.com/justin-hackin/snap.svg.zpd/tree/zoomToElement
The callback has a File object, so this is more a generic js question. I found out how to do this here: https://stackoverflow.com/questions/36280818/how-to-convert-file-to-base64-in-javascript
Here's a recipe for using an ejs file for the renderer template with additional template data. In webpack.renderer.js : ``` const HtmlWebpackPlugin = require('html-webpack-plugin'); const { merge } = require('webpack-merge');...
You can change the port that electron runs on with this tip https://github.com/electron-userland/electron-webpack/issues/76#issuecomment-392201080 electron-webpack is not a node interpreter (in this case electron is). Debugging the running of `electron-webpack dev`...
Given the difficulty of achieving[ this simple task](https://github.com/cawa-93/vite-electron-builder/issues/189) in vite, I'm not sure it should be presented as an alternative to this library considering the tagline "setting up webpack in...
I noticed my config already had a babel loader in it so I did this instead: ``` // eslint-disable-next-line import/no-extraneous-dependencies const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin'); module.exports = (config) => { const...
It is much more pronounced on my screen than in the screenshots ...