fix invalid z height, defunct widget annotation cleanup, invalid widget highlighting

This commit is contained in:
Stewart Allen 2022-02-02 12:09:59 -05:00
commit fb3bc33ca0
3 changed files with 8 additions and 4 deletions

View file

@ -44,6 +44,10 @@ gapp.broker = new class Broker {
}
return;
}
if (typeof topic !== 'string') {
console.trace({invalid_topic: topic});
return;
}
let topics = this.topics;
let channel = topics[topic];
if (!channel) {

View file

@ -288,7 +288,7 @@
width = psize.width || 300,
depth = psize.depth || 300,
height = psize.height || 2.5,
maxz = psize.maxz
maxz = psize.maxz || 100
) {
psize = { width, depth, height, maxz };
if (isRound) {