Improve Path Tool hint text
This commit is contained in:
parent
f8e72be492
commit
a4d3c343a0
|
|
@ -123,7 +123,7 @@ impl Fsm for PathToolFsmState {
|
||||||
data.shape_editor.remove_overlays(responses);
|
data.shape_editor.remove_overlays(responses);
|
||||||
|
|
||||||
// This currently creates new VectorManipulatorShapes for every shape, which is not ideal
|
// This currently creates new VectorManipulatorShapes for every shape, which is not ideal
|
||||||
// Atleast it is only on selection change for now
|
// At least it is only on selection change for now
|
||||||
data.shape_editor.set_shapes_to_modify(document.selected_visible_layers_vector_shapes(responses));
|
data.shape_editor.set_shapes_to_modify(document.selected_visible_layers_vector_shapes(responses));
|
||||||
|
|
||||||
self
|
self
|
||||||
|
|
@ -245,7 +245,7 @@ impl Fsm for PathToolFsmState {
|
||||||
HintInfo {
|
HintInfo {
|
||||||
key_groups: vec![KeysGroup(vec![Key::KeyShift])],
|
key_groups: vec![KeysGroup(vec![Key::KeyShift])],
|
||||||
mouse: None,
|
mouse: None,
|
||||||
label: String::from("Add/Remove Point (coming soon)"),
|
label: String::from("Grow/Shrink Selection"),
|
||||||
plus: true,
|
plus: true,
|
||||||
},
|
},
|
||||||
]),
|
]),
|
||||||
|
|
@ -295,20 +295,20 @@ impl Fsm for PathToolFsmState {
|
||||||
},
|
},
|
||||||
]),
|
]),
|
||||||
]),
|
]),
|
||||||
PathToolFsmState::Dragging => HintData(vec![
|
PathToolFsmState::Dragging => HintData(vec![HintGroup(vec![
|
||||||
HintGroup(vec![HintInfo {
|
HintInfo {
|
||||||
key_groups: vec![KeysGroup(vec![Key::KeyAlt])],
|
key_groups: vec![KeysGroup(vec![Key::KeyAlt])],
|
||||||
mouse: None,
|
mouse: None,
|
||||||
label: String::from("Toggle Mirror Angle"),
|
label: String::from("Split/Align Handles (Toggle)"),
|
||||||
plus: false,
|
plus: false,
|
||||||
}]),
|
},
|
||||||
HintGroup(vec![HintInfo {
|
HintInfo {
|
||||||
key_groups: vec![KeysGroup(vec![Key::KeyShift])],
|
key_groups: vec![KeysGroup(vec![Key::KeyShift])],
|
||||||
mouse: None,
|
mouse: None,
|
||||||
label: String::from("Hold To Mirror Distance"),
|
label: String::from("Share Lengths of Aligned Handles"),
|
||||||
plus: false,
|
plus: false,
|
||||||
}]),
|
},
|
||||||
]),
|
])]),
|
||||||
};
|
};
|
||||||
|
|
||||||
responses.push_back(FrontendMessage::UpdateInputHints { hint_data }.into());
|
responses.push_back(FrontendMessage::UpdateInputHints { hint_data }.into());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue