Revision 5a06dfb4
s/overlay/overlap/ (notions distinctes)
Change-Id: I7db5bae19676fc985ae828283ca0f2b94a4aa836
Reviewed-on: https://vigilo-dev.si.c-s.fr/review/143
Tested-by: Build system <qa@vigilo-dev.si.c-s.fr>
Reviewed-by: Francois POIROTTE <francois.poirotte@c-s.fr>
vigigraph/public/js/graph.js | ||
---|---|---|
18 | 18 |
refreshDelay: null, |
19 | 19 |
left: null, |
20 | 20 |
top: null, |
21 |
overlay: 10 // Pourcentage de recouvrement (voir #730)
|
|
21 |
overlap: 10 // Pourcentage de recouvrement (voir #730)
|
|
22 | 22 |
}, |
23 | 23 |
|
24 | 24 |
initialize: function (options, host, graph) { |
... | ... | |
169 | 169 |
this.options.start = |
170 | 170 |
this.getStartTime() - |
171 | 171 |
this.options.duration + |
172 |
(this.options.overlay * this.options.duration / 100).toInt();
|
|
172 |
(this.options.overlap * this.options.duration / 100).toInt();
|
|
173 | 173 |
this.updateGraph(); |
174 | 174 |
}.bind(this) |
175 | 175 |
}), |
... | ... | |
180 | 180 |
this.options.start = |
181 | 181 |
this.getStartTime() + |
182 | 182 |
this.options.duration - |
183 |
(this.options.overlay * this.options.duration / 100).toInt();
|
|
183 |
(this.options.overlap * this.options.duration / 100).toInt();
|
|
184 | 184 |
this.updateGraph(); |
185 | 185 |
}.bind(this) |
186 | 186 |
}), |
Also available in: Unified diff