kicad/common/tool
Mikolaj Wielgus 1dc0ef01b3 Fix automatic wire tool in gridless mode
The automatic wire tool was not working in the gridless mode because the
grid snapping on/off logic present in `EE_GRID_HELPER`, based on the
value of `m_enableGrid`, was not taking into account that another check,
but for the global KiCad setting, would be performed in the `Align()`
method, which is inherited from `GRID_HELPER`.

I've modified all tests of `m_enableGrid` value to also take the global
setting into account, and moved checks for it to `Align()` method, as
it's more consistent this way.

I've also removed an override of the `Align()` method in the
`PCB_GRID_HELPER` class, as it was made redundant by my changes.

Fixes https://gitlab.com/kicad/code/kicad/issues/7402
2021-02-10 22:07:49 +00:00
..
action_manager.cpp Add more consts all over the place 2020-10-27 11:03:35 +00:00
action_menu.cpp Pass un-pretty-printed bus names through menu help text. 2021-02-10 15:03:06 +00:00
action_toolbar.cpp Cosmetic fixes to the toolbar palettes 2020-11-11 00:41:02 +00:00
actions.cpp Icons: try a new version of the 'new' badge 2021-02-06 22:51:56 +00:00
common_control.cpp Update KiCad website links 2020-12-22 17:38:56 -08:00
common_tools.cpp Refresh screen after canvas switch 2021-01-29 15:33:32 -08:00
conditional_menu.cpp Turn CONDITIONAL_MENU's conditions into only show/hide conditions 2020-08-17 23:40:02 +01:00
edit_constraints.cpp ADDED: Improved center point dragging 2020-08-27 10:34:12 -07:00
edit_points.cpp Fix hover/highlight of line edit points 2020-10-21 20:37:15 -04:00
editor_conditions.cpp Migrate Pcbnew/footprint viewer/footprint editor to the new UI update system 2020-08-16 19:10:26 +00:00
grid_helper.cpp Fix automatic wire tool in gridless mode 2021-02-10 22:07:49 +00:00
grid_menu.cpp Improve SNR in status bar (and use common code). 2020-10-06 12:08:31 +01:00
picker_tool.cpp Refactor PICKER_TOOL and push up snapping disable functionality 2021-01-31 09:50:41 -05:00
selection_conditions.cpp Migrate Pcbnew/footprint viewer/footprint editor to the new UI update system 2020-08-16 19:10:26 +00:00
tool_action.cpp Try and unify the background colors between panels and platforms. 2020-09-04 20:47:50 +01:00
tool_base.cpp Push tool framework base down into TOOL_HOLDER. 2020-03-24 19:00:25 +00:00
tool_dispatcher.cpp Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
tool_event.cpp Hack to prevent multiple simulation commands from stacking up. 2021-02-02 01:23:22 +00: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 Coding policy fixes. 2021-02-09 11:35:43 -05:00
tool_menu.cpp Turn CONDITIONAL_MENU's conditions into only show/hide conditions 2020-08-17 23:40:02 +01:00
tools_holder.cpp Implement a more aggressive re-entrancy check for SCH drawing tools. 2021-01-27 19:51:11 +00:00
zoom_menu.cpp Code cleanup related to zoom: 2020-12-02 18:35:28 +01:00
zoom_tool.cpp Go back to arrow cursor on a cancel (or finish). 2020-11-19 20:09:28 +00:00