{"push_id":2822092066,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"7c7137de10a21ff95da83886942f684ef4118c6b","before":"5cf2d3ed6657a12a51898d9bb0377aab0ef260a1","commits":[{"sha":"7c7137de10a21ff95da83886942f684ef4118c6b","author":{"name":"drousso@apple.com","email":"dbf5e6b2fd521c6eefb11755e1e56ae5b34ae826@apple.com"},"message":"Web Inspector: Color picker: can't enter decimal numbers for opacity\nhttps://bugs.webkit.org/show_bug.cgi?id=187026\n<rdar://problem/41446500>\n\nReviewed by Brian Burg.\n\nAfter every \"input\" event, we update the `color` value of the `WI.ColorPicker` based on a\ngenerated string using the values of the various <input>. The issue with this approach is\nthat adding a decimal point (e.g. \"0.\") would still be construed as 0, meaning that the\ncolor wouldn't change and would instead be reset back to it's old value. This patch adds an\nearly return if the newly generated color has the same value as the current color, thereby\nmeaning that the `color` wouldn't change when changing from \"0\" to \"0.\".\n\n* UserInterface/Views/ColorPicker.js:\n(WI.ColorPicker):\n(WI.ColorPicker.createColorInput):\n(WI.ColorPicker.prototype._handleColorInputInput):\n\n\ngit-svn-id: http://svn.webkit.org/repository/webkit/trunk@235273 268f45cc-cd09-0410-ab3c-d52691b4dbfc","distinct":true,"url":"https://api.github.com/repos/WebKit/webkit/commits/7c7137de10a21ff95da83886942f684ef4118c6b"}]}
{"actor":{"display_login":"hubot"}}