File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ proto.update = function update(calcTrace) {
102
102
opts = optsAll [ k ] ;
103
103
this . addLayer ( k , opts , below ) ;
104
104
}
105
- this . below = below ;
106
105
} else if ( hasCluster && ! hadCluster ) {
107
106
for ( i = ORDER . nonCluster . length - 1 ; i >= 0 ; i -- ) {
108
107
k = ORDER . nonCluster [ i ] ;
@@ -115,7 +114,6 @@ proto.update = function update(calcTrace) {
115
114
opts = optsAll [ k ] ;
116
115
this . addLayer ( k , opts , below ) ;
117
116
}
118
- this . clusterEnabled = hasCluster ;
119
117
} else if ( ! hasCluster && hadCluster ) {
120
118
for ( i = 0 ; i < ORDER . cluster . length ; i ++ ) {
121
119
k = ORDER . cluster [ i ] ;
@@ -128,7 +126,6 @@ proto.update = function update(calcTrace) {
128
126
this . addSource ( k , opts , trace . cluster ) ;
129
127
this . addLayer ( k , opts , below ) ;
130
128
}
131
- this . clusterEnabled = hasCluster ;
132
129
}
133
130
134
131
order = hasCluster ? ORDER . cluster : ORDER . nonCluster ;
@@ -144,6 +141,9 @@ proto.update = function update(calcTrace) {
144
141
}
145
142
}
146
143
144
+ this . clusterEnabled = hasCluster ;
145
+ this . below = below ;
146
+
147
147
// link ref for quick update during selections
148
148
calcTrace [ 0 ] . trace . _glTrace = this ;
149
149
} ;
You can’t perform that action at this time.
0 commit comments