mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 07:18:12 +08:00
fix compile issues
This commit is contained in:
-1
@@ -13,7 +13,6 @@ use crate::messages::tool::common_functionality::shapes::shape_utility::extract_
|
|||||||
use glam::{DAffine2, DVec2};
|
use glam::{DAffine2, DVec2};
|
||||||
use graph_craft::document::NodeInput;
|
use graph_craft::document::NodeInput;
|
||||||
use graph_craft::document::value::TaggedValue;
|
use graph_craft::document::value::TaggedValue;
|
||||||
use graphene_std::num_traits::Zero;
|
|
||||||
use graphene_std::vector::misc::{GridType, dvec2_to_point, get_line_endpoints};
|
use graphene_std::vector::misc::{GridType, dvec2_to_point, get_line_endpoints};
|
||||||
use kurbo::{Line, ParamCurveNearest};
|
use kurbo::{Line, ParamCurveNearest};
|
||||||
use std::collections::VecDeque;
|
use std::collections::VecDeque;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
pub mod grid_row_colums_gizmo;
|
pub mod grid_row_columns_gizmo;
|
||||||
pub mod number_of_points_dial;
|
pub mod number_of_points_dial;
|
||||||
pub mod point_radius_handle;
|
pub mod point_radius_handle;
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ impl ShapeGizmoHandler for GridGizmoHandler {
|
|||||||
&self,
|
&self,
|
||||||
document: &DocumentMessageHandler,
|
document: &DocumentMessageHandler,
|
||||||
selected_grid_layer: Option<LayerNodeIdentifier>,
|
selected_grid_layer: Option<LayerNodeIdentifier>,
|
||||||
input: &InputPreprocessorMessageHandler,
|
_input: &InputPreprocessorMessageHandler,
|
||||||
shape_editor: &mut &mut ShapeState,
|
shape_editor: &mut &mut ShapeState,
|
||||||
mouse_position: DVec2,
|
mouse_position: DVec2,
|
||||||
overlay_context: &mut OverlayContext,
|
overlay_context: &mut OverlayContext,
|
||||||
@@ -59,7 +59,7 @@ impl ShapeGizmoHandler for GridGizmoHandler {
|
|||||||
fn dragging_overlays(
|
fn dragging_overlays(
|
||||||
&self,
|
&self,
|
||||||
document: &DocumentMessageHandler,
|
document: &DocumentMessageHandler,
|
||||||
input: &InputPreprocessorMessageHandler,
|
_input: &InputPreprocessorMessageHandler,
|
||||||
shape_editor: &mut &mut ShapeState,
|
shape_editor: &mut &mut ShapeState,
|
||||||
mouse_position: DVec2,
|
mouse_position: DVec2,
|
||||||
overlay_context: &mut OverlayContext,
|
overlay_context: &mut OverlayContext,
|
||||||
|
|||||||
Reference in New Issue
Block a user