mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-24 14:38:12 +08:00
Integrate the node graph as a Node Graph Frame layer type (#812)
* Add node graph frame tool * Add a brighten * Use the node graph * Fix topological_sort * Update UI * Add icons for the tool and layer type * Avoid serde & use bitmaps to improve performance * Allow serialising a node graph * Fix missing ..Default::default() * Fix incorrect comments * Cache node graph output image * Suppress no-cycle import warning Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
committed by
Keavon Chambers
co-authored by
Keavon Chambers
parent
1462d2b662
commit
18507b78ac
@@ -123,6 +123,13 @@ pub fn default_mapping() -> Mapping {
|
||||
entry!(KeyDown(Escape); action_dispatch=ImaginateToolMessage::Abort),
|
||||
entry!(PointerMove; refresh_keys=[Alt, Shift], action_dispatch=ImaginateToolMessage::Resize { center: Alt, lock_ratio: Shift }),
|
||||
//
|
||||
// NodeGraphFrameToolMessage
|
||||
entry!(KeyDown(Lmb); action_dispatch=NodeGraphFrameToolMessage::DragStart),
|
||||
entry!(KeyUp(Lmb); action_dispatch=NodeGraphFrameToolMessage::DragStop),
|
||||
entry!(KeyDown(Rmb); action_dispatch=NodeGraphFrameToolMessage::Abort),
|
||||
entry!(KeyDown(Escape); action_dispatch=NodeGraphFrameToolMessage::Abort),
|
||||
entry!(PointerMove; refresh_keys=[Alt, Shift], action_dispatch=NodeGraphFrameToolMessage::Resize { center: Alt, lock_ratio: Shift }),
|
||||
//
|
||||
// EllipseToolMessage
|
||||
entry!(KeyDown(Lmb); action_dispatch=EllipseToolMessage::DragStart),
|
||||
entry!(KeyUp(Lmb); action_dispatch=EllipseToolMessage::DragStop),
|
||||
|
||||
Reference in New Issue
Block a user