HOTFIX
* fixes bug where float numbers could not be used as input for e.g. buffer radius * supports up to two digits
This commit is contained in:
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…
Reference in New Issue
Block a user