Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Inspector: gradient editor should provide horizontal slider for '…
…angle' value where applicable https://bugs.webkit.org/show_bug.cgi?id=166937 Patch by Devin Rousso <dcrousso+webkit@gmail.com> on 2017-01-27 Reviewed by Joseph Pecoraro. * UserInterface/Views/GradientEditor.css: (.gradient-editor): (.gradient-editor > .gradient-angle): (.gradient-editor > .gradient-angle > input[type="range"]): (.gradient-editor > .gradient-angle > input[type="number"]): (.gradient-editor > .gradient-angle > input::-webkit-inner-spin-button): (.gradient-editor > .gradient-angle > input): Deleted. * UserInterface/Views/GradientEditor.js: (WebInspector.GradientEditor): (WebInspector.GradientEditor.prototype.set gradient): (WebInspector.GradientEditor.prototype.gradientSliderStopWasSelected): (WebInspector.GradientEditor.prototype._gradientTypeChanged): (WebInspector.GradientEditor.prototype._angleChanged): (WebInspector.GradientEditor.prototype.dragToAdjustControllerWasAdjustedByAmount): Deleted. (WebInspector.GradientEditor.prototype._angleInputValueDidChange): Deleted. Remove the DragToAdjustController and replace with an <input type="range">. Canonical link: https://commits.webkit.org/184567@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@211318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
70 additions
and 46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters