mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 07:38:11 +08:00
Switch nudging from viewport pixels to local pixels (#1114)
Nudging is now based on local pixel dimensions
This commit is contained in:
committed by
Keavon Chambers
parent
f271964bf8
commit
07b3eba136
@@ -580,7 +580,7 @@ impl MessageHandler<DocumentMessage, (u64, &InputPreprocessorMessageHandler, &Pe
|
|||||||
};
|
};
|
||||||
|
|
||||||
if let Some(transform) = transform {
|
if let Some(transform) = transform {
|
||||||
let transform_in = TransformIn::Viewport;
|
let transform_in = TransformIn::Local;
|
||||||
responses.add(GraphOperationMessage::TransformChange {
|
responses.add(GraphOperationMessage::TransformChange {
|
||||||
layer: path,
|
layer: path,
|
||||||
transform,
|
transform,
|
||||||
|
|||||||
Reference in New Issue
Block a user