Skip to content
Snippets Groups Projects
Commit 153f0006 authored by mathias.chouet's avatar mathias.chouet
Browse files

Improve PAB profile zoom; remove debug message

parent 490ef638
No related branches found
No related tags found
2 merge requests!50Fonctionnalité de zoom sur le profil de la passe,!49Resolve "Ajout du module de calcul d'une passe à bassins"
......@@ -88,12 +88,12 @@ export class PabProfileGraphComponent extends ResultsComponent {
this.graph_options["plugins"] = {
zoom: {
pan: {
enabled: true,
enabled: false, // conflicts with drag zoom
mode: "xy",
},
zoom: {
enabled: true,
drag: false, // conflicts with pan; set to false to enable mouse wheel zoom
drag: true, // conflicts with pan; set to false to enable mouse wheel zoom
mode: "xy",
// percentage of zoom on a wheel event
speed: 0.1,
......
......@@ -23,10 +23,10 @@ export class FormulairePab extends FormulaireBase {
return this.currentNub as Pab;
}
public doCompute() {
/* public doCompute() {
this.dumpPabStructure(this.pabNub);
super.doCompute();
}
} */
// debug method
private dumpPabStructure(pab: Pab) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment