mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 19:08:05 +08:00
Made snapping / overlays not render extra times, made snapping distance larger
This commit is contained in:
@@ -16,7 +16,7 @@ impl Resize {
|
||||
/// Starts a resize, assigning the snap targets and snapping the starting position.
|
||||
pub fn start(&mut self, responses: &mut VecDeque<Message>, viewport_bounds: DVec2, document: &DocumentMessageHandler, mouse_position: DVec2) {
|
||||
let layers = document.all_layers_sorted();
|
||||
self.snap_handler.start_snap(responses, viewport_bounds, document, layers, &[]);
|
||||
self.snap_handler.start_snap(responses, viewport_bounds, document, layers);
|
||||
self.drag_start = self.snap_handler.snap_position(document, mouse_position);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user