mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 16:08:11 +08:00
Add grid color customization and choice to display as dots (#1743)
* dot grid * fix warning: unreachable pattern * grid color select * add color for all grid types * Dot grid checkbox and remove prefixed Color functions * Display dot grid as grid aligned pixels * Dashed line comment * Code review and UI design widget placement updates * Isometric dotted grid * Early return when cos = 0 * Add spacing, x offset, and color to dot grids --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
1bfbe306be
commit
bc33eabc3c
@@ -255,7 +255,7 @@ impl Fsm for GradientToolFsmState {
|
||||
let Gradient { start, end, positions, .. } = gradient;
|
||||
let (start, end) = (transform.transform_point2(start), transform.transform_point2(end));
|
||||
|
||||
overlay_context.line(start, end, None);
|
||||
overlay_context.line(start, end, None, None);
|
||||
overlay_context.manipulator_handle(start, dragging == Some(GradientDragTarget::Start));
|
||||
overlay_context.manipulator_handle(end, dragging == Some(GradientDragTarget::End));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user