Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Web Inspector: Keyboard controls to nudge control points in custom tr…
…ansition bezier curve editor would be nice https://bugs.webkit.org/show_bug.cgi?id=154739 <rdar://problem/24861498> Patch by Devin Rousso <dcrousso+webkit@gmail.com> on 2016-02-26 Reviewed by Timothy Hatcher. Adds ability for user to nudge the most recently selected bezier control handle by using the arrow keys. Also makes the currently selected bezier control line snap to an axis, which is defined when the user mouses down, whenever the mouse is dragged while the shift key is pressed. * UserInterface/Views/BezierEditor.js: (WebInspector.BezierEditor): (WebInspector.BezierEditor.prototype.handleKeydownEvent): (WebInspector.BezierEditor.prototype._handleMouseup): (WebInspector.BezierEditor.prototype._updateControlPointsForMouseEvent): Canonical link: https://commits.webkit.org/172867@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@197233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
3984aa4
commit 2546a3a
Showing
2 changed files
with
74 additions
and
1 deletion.
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