kicad/pcbnew/tools
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
..
board_editor_control.cpp PCB Editor: make locking menu items conditional 2022-12-21 10:34:54 -05:00
board_editor_control.h ADDED: Search/inspect pane 2022-09-14 02:59:57 +00:00
board_inspection_tool.cpp BOARD_INSPECTION_TOOL::LocalRatsnestTool(): set a suitable cursor when activated. 2022-10-12 15:56:41 +02:00
board_inspection_tool.h Untangle some includes 2022-09-25 11:37:06 -04:00
board_reannotate_tool.cpp Cleanup & performance enhancements. 2022-08-01 13:09:51 +01:00
board_reannotate_tool.h Array creator tool: Add option to assign unique reference designators 2021-10-25 22:38:49 +01:00
convert_tool.cpp Don't Simplify() polys with arcs in them. 2022-12-12 12:54:34 +00:00
convert_tool.h A bit of cleanup to recent convert tool changes. 2022-12-01 14:53:13 +00:00
drawing_stackup_table_tool.cpp drawing_stackup_table_tool: fix incorrect color of dielectric sublayers. 2022-12-02 10:41:20 +01:00
drawing_tool.cpp Don't break tracks without snap 2022-12-14 13:51:42 -08:00
drawing_tool.h TOOL_EVENT: make command string non-optional 2022-09-19 10:23:09 -04:00
drc_tool.cpp Pointer safety for ERC/DRC dialogs. 2022-08-30 12:07:19 +01:00
drc_tool.h Exclusions for Unconnected Items; Markers & exclusions for Parity checks 2021-12-24 21:10:28 +00:00
edit_tool.cpp fp editor: remove useless "Unroute Selected" from context menu. 2022-12-21 13:11:51 +01:00
edit_tool.h Canceling Move cancels Pack too in Pack & Move footprints. 2022-12-09 20:41:56 +03:00
edit_tool_move_fct.cpp PCB: Fix issues with grab unconnected 2022-12-21 15:10:19 -05:00
footprint_editor_control.cpp Add pin/unpin context menu to Symbol Chooser and Footprint Chooser. 2022-09-21 14:45:12 +01:00
footprint_editor_control.h Allow selection of Footprint Checker markers. 2022-08-20 11:30:25 +01:00
global_edit_tool.cpp More wide-string declarations. 2022-02-05 22:26:31 +00:00
global_edit_tool.h Fix the last of broken Doxygen comment specifiers. 2021-01-27 17:39:44 -05:00
group_tool.cpp Move Enter Group for easier access. 2022-10-07 03:03:33 +03:00
group_tool.h Fix the last of broken Doxygen comment specifiers. 2021-01-27 17:39:44 -05:00
pad_tool.cpp Integrate move individually into move algo so other commands don't choke. 2022-11-13 13:18:42 +00:00
pad_tool.h Add pad-recombining to FPEditor's Cleanup Graphics. 2022-09-24 19:34:06 +01:00
pcb_actions.cpp Expose changing arc edit mode in arc button context menu and Preferences 2022-12-05 21:28:16 +03:00
pcb_actions.h Expose changing arc edit mode in arc button context menu and Preferences 2022-12-05 21:28:16 +03:00
pcb_control.cpp Better reporting of nets and netclasses. 2022-11-22 14:54:08 +00:00
pcb_control.h ADDED: Implement Drag and Drop 2022-09-14 22:28:09 +00:00
pcb_editor_conditions.cpp Remove bad static_cast. 2022-07-24 23:41:41 +01:00
pcb_editor_conditions.h Move 45° limit to hotkey 2021-09-05 13:42:51 -07:00
pcb_grid_helper.cpp Fix snapping dist when disabling grid 2022-12-21 17:47:45 -08:00
pcb_grid_helper.h Honour selection filter when picking move anchors. 2022-11-08 16:27:18 +00:00
pcb_picker_tool.cpp Don't allow zone filling during other editing operations. 2022-11-14 23:39:49 +00:00
pcb_picker_tool.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcb_point_editor.cpp pcbnew: Support dragging arc center in "Keep endpoints" mode. 2022-12-12 13:00:44 +03:00
pcb_point_editor.h pcbnew: Support dragging arc center in "Keep endpoints" mode. 2022-12-12 13:00:44 +03:00
pcb_selection.cpp Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
pcb_selection.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
pcb_selection_conditions.cpp PCB Editor: make locking menu items conditional 2022-12-21 10:34:54 -05:00
pcb_selection_conditions.h PCB Editor: make locking menu items conditional 2022-12-21 10:34:54 -05:00
pcb_selection_tool.cpp Respect selectabiltiy when adding wholy-selected groups. 2022-12-15 17:57:58 +00:00
pcb_selection_tool.h PCB Actions: Grab Unconnected 2022-09-26 16:17:41 -04:00
pcb_tool_base.cpp Fix memory leak and re-code non-memory-leak so Coverity can understand it. 2022-11-30 13:00:20 +00:00
pcb_tool_base.h TOOL_EVENT: make command string non-optional 2022-09-19 10:23:09 -04:00
pcb_viewer_tools.cpp Reduce compiler warnings. 2022-12-13 00:47:19 +00:00
pcb_viewer_tools.h Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
placement_tool.cpp Correctly sort positions for default align 2022-10-14 16:15:06 -07:00
placement_tool.h Some more wxPoint/EDA_RECT yeeting. 2022-08-31 00:44:33 +01:00
position_relative_tool.cpp Don't keep value of user or grid anchors between invocations. 2022-11-17 00:51:52 +00:00
position_relative_tool.h Don't keep value of user or grid anchors between invocations. 2022-11-17 00:51:52 +00:00
properties_tool.cpp Move properties panel to widgets with the other AUI panels 2022-11-27 22:40:23 -05:00
properties_tool.h WIP: Properties GUI 2022-08-22 21:32:32 -04:00
tool_event_utils.cpp More wide-string declarations. 2022-02-05 22:26:31 +00:00
tool_event_utils.h Move EDA_ANGLE to KiMath lib 2022-01-14 17:12:24 -08:00
zone_create_helper.cpp Remove start pt when collinear with neighboring pts in zone/poly draw. 2022-12-10 06:21:54 +03:00
zone_create_helper.h Choose the first unused priority value for zones 2022-08-25 10:05:30 -07:00
zone_filler_tool.cpp Remove shortened debug time from zone refill message. 2022-11-30 17:38:02 +00:00
zone_filler_tool.h More safety around ratsnest state. 2022-11-30 13:00:21 +00:00