mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-24 16:13:44 +00:00
Snapping system improvements and refactor (#621)
* Snap to points and refactor * Improve dot position on bounds * Add snap matrix * Cleanup * Code review * Half axis fade rather than increase it * Fix fmt * Hide snap to point overlay when active Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
parent
4b7d8b7ab0
commit
e3e506ecfb
14 changed files with 303 additions and 183 deletions
|
@ -65,7 +65,7 @@ export function createInputManager(editor: EditorState, container: HTMLElement,
|
|||
if (key === "f5") return false;
|
||||
|
||||
// Don't redirect debugging tools
|
||||
if (key === "f12") return false;
|
||||
if (key === "f12" || key === "f8") return false;
|
||||
if (e.ctrlKey && e.shiftKey && key === "c") return false;
|
||||
if (e.ctrlKey && e.shiftKey && key === "i") return false;
|
||||
if (e.ctrlKey && e.shiftKey && key === "j") return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue