window settings for axes & grid

This commit is contained in:
STEINNI
2025-09-29 17:28:55 +00:00
parent 8be18e8d83
commit e4ac2a8dc0
7 changed files with 63 additions and 21 deletions
-3
View File
@@ -99,13 +99,10 @@ class Snaptobus{
processBusEvent(eventType, chan, payload, userId, x){
console.log('processBusEvent====>',eventType, chan, payload, userId)
const chanObj = this._curBusConfig.find(item => item.chan==chan)
if(!chanObj) return
console.log('processBusEvent====>chanObj', chanObj)
const eventObj = chanObj.events.find(item => item.eventName==eventType)
if(!eventObj) return
console.log('processBusEvent====>eventObj', eventObj)
// assign attributes in payload to all snap objects for that eventType
// each snap is an assignation of attributes via a selector
for(const snapDef of eventObj.snaps){