Unverified Commit 30c3c330 by Rémi Verschelde Committed by GitHub

Merge pull request #32721 from groud/independant_grid_snap

Move grid snapping to an independent button
parents be446038 fff953ac
......@@ -259,13 +259,14 @@ private:
float snap_rotation_step;
float snap_rotation_offset;
bool snap_active;
bool smart_snap_active;
bool grid_snap_active;
bool snap_node_parent;
bool snap_node_anchors;
bool snap_node_sides;
bool snap_node_center;
bool snap_other_nodes;
bool snap_grid;
bool snap_guides;
bool snap_rotation;
bool snap_relative;
......@@ -347,7 +348,8 @@ private:
ToolButton *ruler_button;
ToolButton *snap_button;
ToolButton *smart_snap_button;
ToolButton *grid_snap_button;
MenuButton *snap_config_menu;
PopupMenu *smartsnap_config_popup;
......@@ -529,7 +531,8 @@ private:
void _button_zoom_minus();
void _button_zoom_reset();
void _button_zoom_plus();
void _button_toggle_snap(bool p_status);
void _button_toggle_smart_snap(bool p_status);
void _button_toggle_grid_snap(bool p_status);
void _button_tool_select(int p_index);
HSplitContainer *palette_split;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment