window settings for axes & grid
This commit is contained in:
-3
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user