* fixes bug where float numbers could not be used as input for e.g. buffer radius
    * supports up to two digits
pull/312/head
mpeltriaux 2 years ago
parent b0d068e8a6
commit c421399788

@ -196,6 +196,7 @@ netgis.Toolbar.prototype.createToolbarInput = function( title, value, callback )
var input = document.createElement( "input" );
input.setAttribute( "type", "number" );
input.setAttribute( "min", 0 );
input.setAttribute( "step", 0.01 );
input.value = value;
input.addEventListener( "change", callback );
input.addEventListener( "keyup", callback );

Loading…
Cancel
Save