Viewer: wrap the snap() doc comment (#253)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
631c069557
commit
25e5d0f9c0
@@ -35,8 +35,9 @@ pub(crate) fn snapping_on(app: &EffectcraftApp, mods: egui::Modifiers) -> bool {
|
|||||||
|
|
||||||
/// Snap dragged feature points (`sources`, comp pixels) to the comp's targets: other layers'
|
/// Snap dragged feature points (`sources`, comp pixels) to the comp's targets: other layers'
|
||||||
/// edges, corners, centres, anchor points and mask/shape vertices and the comp edges and centre
|
/// edges, corners, centres, anchor points and mask/shape vertices and the comp edges and centre
|
||||||
/// (when snapping is on, as the Snapping options allow), guides (View ▸ Snap to Guides) and the grid (View ▸ Snap to Grid). Returns
|
/// (when snapping is on, as the Snapping options allow), guides (View ▸ Snap to Guides) and the
|
||||||
/// the comp-space correction (zero when nothing is near) and records the feedback for this frame.
|
/// grid (View ▸ Snap to Grid). Returns the comp-space correction (zero when nothing is near) and
|
||||||
|
/// records the feedback for this frame.
|
||||||
pub(crate) fn snap(
|
pub(crate) fn snap(
|
||||||
app: &EffectcraftApp,
|
app: &EffectcraftApp,
|
||||||
ctx: &egui::Context,
|
ctx: &egui::Context,
|
||||||
|
|||||||
Reference in New Issue
Block a user