We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36a0185 commit e349811Copy full SHA for e349811
editor/plugins/canvas_item_editor_plugin.cpp
@@ -129,15 +129,15 @@ class SnapDialog : public ConfirmationDialog {
129
label->set_h_size_flags(SIZE_EXPAND_FILL);
130
131
grid_step_x = memnew(SpinBox);
132
- grid_step_x->set_min(0.01);
+ grid_step_x->set_min(1);
133
grid_step_x->set_max(SPIN_BOX_GRID_RANGE);
134
grid_step_x->set_allow_greater(true);
135
grid_step_x->set_suffix("px");
136
grid_step_x->set_h_size_flags(SIZE_EXPAND_FILL);
137
child_container->add_child(grid_step_x);
138
139
grid_step_y = memnew(SpinBox);
140
- grid_step_y->set_min(0.01);
+ grid_step_y->set_min(1);
141
grid_step_y->set_max(SPIN_BOX_GRID_RANGE);
142
grid_step_y->set_allow_greater(true);
143
grid_step_y->set_suffix("px");
0 commit comments