summaryrefslogtreecommitdiffstats
path: root/editor/plugins/canvas_item_editor_plugin.h
diff options
context:
space:
mode:
authorJohn Gabriel <accounts@johngabriel.co.uk>2023-09-02 17:13:46 +0100
committerJohn Gabriel <accounts@johngabriel.co.uk>2023-09-12 10:24:07 +0100
commit984eb96c43a081620c69d925f33943890ade9cf4 (patch)
tree25e5326061e130cff0c91b13eb9f041ed140552b /editor/plugins/canvas_item_editor_plugin.h
parentd2ae309f2cec2000257c1ff203a64170fc146b17 (diff)
downloadredot-engine-984eb96c43a081620c69d925f33943890ade9cf4.tar.gz
Allow configuring primary line X/Ys separately
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.h')
-rw-r--r--editor/plugins/canvas_item_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.h b/editor/plugins/canvas_item_editor_plugin.h
index 74f150fd65..19a5fe615d 100644
--- a/editor/plugins/canvas_item_editor_plugin.h
+++ b/editor/plugins/canvas_item_editor_plugin.h
@@ -216,7 +216,7 @@ private:
// Defaults are defined in clear().
Point2 grid_offset;
Point2 grid_step;
- int primary_grid_steps = 0;
+ Vector2i primary_grid_step;
int grid_step_multiplier = 0;
real_t snap_rotation_step = 0.0;