fix gear shaft diam, log gear pitch when created

This commit is contained in:
Stewart Allen 2024-07-19 00:55:05 -04:00
commit 9106d8ad21
4 changed files with 8 additions and 4 deletions

View file

@ -118,7 +118,7 @@ const modal = api.modal = {
let pinner;
// transient logging window bottom/left
const log = api.log = {
age: 10000, // age out lines more than 10 seconds old
age: 600000, // age out lines more than 10 minutes old
data: [], // last n messages
@ -187,7 +187,9 @@ const log = api.log = {
};
// bind endpoint for worker to log in the ui
gapp.broker.subscribe("mesh.log", log.emit);
gapp.broker.subscribe("mesh.log", msg => {
log.emit(msg);
});
// welcome dialog
api.welcome = function(version = "unknown") {