waterbearlang / waterbear

Visual block syntax for programming languages
http://waterbearlang.com/
358 stars 88 forks source link

Weird issues with min/max inputs #1277

Open dethe opened 8 years ago

dethe commented 8 years ago

Trying to set a colour with hue/saturation/lightness. Saturation and lightness are percentages and they have a min of 0 and a max of 100. When I try to type in 50 they reset to 100.

kotarCreative commented 8 years ago

This is handled in block.js line 124 handleInputOnBalance(evt). Not sure why the max value is getting handled as a single digit though.

dethe commented 8 years ago

That's what I thought, but I didn't have the mental energy to fix it last night.