Fix default values for rotation snapping in canvas_item_editor_plugin.cpp

Default values for snap_rotation_step and snap_rotation_offset were transposed. Swap them back.
This commit is contained in:
SnailRhymer 2022-07-30 20:01:27 +01:00
parent c2d55a4e1a
commit 0ac971c0d3

View File

@ -214,8 +214,8 @@ private:
int primary_grid_steps = 8; int primary_grid_steps = 8;
int grid_step_multiplier = 0; int grid_step_multiplier = 0;
real_t snap_rotation_step = 0.0; real_t snap_rotation_step = Math::deg2rad(15.0);
real_t snap_rotation_offset = Math::deg2rad(15.0); real_t snap_rotation_offset = 0.0;
real_t snap_scale_step = 0.1f; real_t snap_scale_step = 0.1f;
bool smart_snap_active = false; bool smart_snap_active = false;
bool grid_snap_active = false; bool grid_snap_active = false;