kicad/common/tool
Seth Hillbrand 1cc9792cdb Fix snapping dist when disabling grid
The disable grid hotkey should allow the snap scale to be completely
determined by the snapSize and world scale.  This prevents snapRange
from overriding in the case where grid is disabled.

Additionally, we disallow grid snapping when the grid scale is not
visible.  This means that when zoomed out sufficiently to not show the
minor ticks, these minor ticks will not override a snap

Fixes https://gitlab.com/kicad/code/kicad/issues/12303
2022-12-21 17:47:45 -08:00
..
action_manager.cpp Cleanup & performance enhancements. 2022-08-01 13:09:51 +01:00
action_menu.cpp Better feedback for netclass assignment patterns. 2022-09-03 21:33:56 +01:00
action_toolbar.cpp Fix lambda capture in ACTION_TOOLBAR 2022-09-25 15:41:39 +01:00
actions.cpp Expose changing arc edit mode in arc button context menu and Preferences 2022-12-05 21:28:16 +03:00
common_control.cpp Rename CreateWindow to CreateKiWindow to avoid a collision name with a windows header 2022-11-08 12:31:07 +01:00
common_tools.cpp Text size sanity checking for TEXT_ITEMS_GRID. 2022-10-06 13:19:08 +01:00
conditional_menu.cpp Add "Enter Sheet" to Sheet tool (context menu & double-click). 2022-05-30 14:08:26 +01:00
edit_constraints.cpp Partially integrate grid snapping with constraints. 2022-02-22 22:19:55 +00:00
edit_points.cpp Use highlight algo that works for both PCBNew and Eeschema. 2021-11-01 16:08:49 +00:00
editor_conditions.cpp Move show-bounding-boxes to a tool on the toolbars. 2022-01-17 11:56:40 +00:00
grid_helper.cpp Fix snapping dist when disabling grid 2022-12-21 17:47:45 -08:00
grid_menu.cpp Text size sanity checking for TEXT_ITEMS_GRID. 2022-10-06 13:19:08 +01:00
picker_tool.cpp TOOL_EVENT: make command string non-optional 2022-09-19 10:23:09 -04:00
selection.cpp Use IsType() for selection testing 2022-11-21 05:02:06 -08:00
selection_conditions.cpp Attempt to fix std::initializer_list lifetime issue. 2022-08-21 20:54:41 +01:00
selection_tool.cpp Schematic: fix selection disambiguation not changing highlighted item 2022-12-14 10:08:19 -05:00
tool_action.cpp cleanup tool event and tool action includes 2021-06-06 18:26:26 +01:00
tool_base.cpp Push tool framework base down into TOOL_HOLDER. 2020-03-24 19:00:25 +00:00
tool_dispatcher.cpp Avoid an annoying compil warning with GCC 12.2 2022-12-10 14:48:47 +01:00
tool_event.cpp TOOL_EVENT: make command string non-optional 2022-09-19 10:23:09 -04:00
tool_interactive.cpp Beware of copying events and losing the m_passEvent flag. 2019-06-17 14:44:39 +01:00
tool_manager.cpp Fix a bit of fall-out from making command strings non-optional. 2022-09-20 00:08:12 +01:00
tool_menu.cpp ADDED netclass assignment from PCB canvas. 2022-09-03 19:29:59 +01:00
tools_holder.cpp TOOL_EVENT: make command string non-optional 2022-09-19 10:23:09 -04:00
zoom_menu.cpp On-the-fly translations for Grid and Zoom menus. 2022-02-25 17:36:35 +00:00
zoom_tool.cpp TOOL_EVENT: make command string non-optional 2022-09-19 10:23:09 -04:00