Commit c260ebca authored by marc duez's avatar marc duez

finishing

parent a7e4ffc2
Pipeline #117058 failed with stages
in 35 seconds
......@@ -22,8 +22,7 @@
*/
function Info(id, model, builder) {
View.call(this, model);
this.id = id;
View.call(this, model, id);
this.builder = builder;
}
......
......@@ -37,8 +37,6 @@ function ScatterPlot(id, model, database, default_preset) {
View.call(this, model, id);
this.db = database;
this.id = id; //ID of the scatterPlot div
//size ( computed value -> resize() function)
this.resizeCoef = 1; //Multiplifying factor, application to nodes radius
......
......@@ -251,6 +251,10 @@ View.prototype = {
return false;
},
/**
* called by resizeObserver on size change
*
* */
autoResize: function() {
var self = this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment