fix contour y bounds swap

This commit is contained in:
Stewart Allen 2025-11-15 12:08:05 -05:00
commit 97fd508e46
4 changed files with 13 additions and 5 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
tag=${1:-latest} tag=${1:-latest}
npm run clear-cache npm run clean
./bin/build-upload win ${tag} && \ ./bin/build-upload win ${tag} && \
./bin/build-upload linux ${tag} && \ ./bin/build-upload linux ${tag} && \
./bin/build-upload mac ${tag} ./bin/build-upload mac ${tag}

View file

@ -5,7 +5,7 @@ exports.default = async function notarizing(context) {
const { electronPlatformName, appOutDir } = context; const { electronPlatformName, appOutDir } = context;
if (process.env.SKIPNOT || electronPlatformName !== 'darwin') { if (process.env.SKIPNOT || electronPlatformName !== 'darwin') {
console.log('SKIP NOTARIZING'); console.log(' ** skip notarizing:', electronPlatformName);
return; return;
} }

View file

@ -7,9 +7,10 @@ This is a community driven project, and we welcome any contributions you'd like
## Running Locally ## Running Locally
- Ensure you have [node](https://nodejs.org/en/download/), or an equivalent installed - Ensure you have [node](https://nodejs.org/en/download/), or an equivalent installed
- Clone the [repository](https://github.com/GridSpace/grid-apps) - Clone the [repository](https://github.com/GridSpace/grid-apps) from https://github.com/GridSpace/grid-apps
- Run `npm run setup` - `npm run setup`
- Run `npm run dev` - `npm run dev`
- Open browser [http://localhost:8080/kiri](http://localhost:8080/kiri)
## How to add a new machine ## How to add a new machine

View file

@ -129,6 +129,13 @@ export class Topo {
vertices[i+1] = vertices[i+0]; vertices[i+1] = vertices[i+0];
vertices[i+0] = tmp; vertices[i+0] = tmp;
} }
['min','max'].forEach(ext => {
ext = wbounds[ext];
let tmp = ext.x;
ext.x = ext.y;
ext.y = tmp;
});
console.log({ wbounds });
console.timeEnd('swap XY vertices'); console.timeEnd('swap XY vertices');
} }