kicad/include/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
..
examples Remove all debugging output that cannot be disabled. 2020-08-18 10:17:36 -04:00
action_manager.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
action_menu.h Pass un-pretty-printed bus names through menu help text. 2021-02-10 15:03:06 +00:00
action_toolbar.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
actions.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
common_control.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
common_tools.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
conditional_menu.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
coroutine.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
edit_constraints.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
edit_points.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
editor_conditions.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
grid_helper.h Fix automatic wire tool in gridless mode 2021-02-10 22:07:49 +00:00
grid_menu.h Nip some common.h from headers 2020-10-24 08:28:03 -04:00
picker_tool.h Refactor PICKER_TOOL and push up snapping disable functionality 2021-01-31 09:50:41 -05:00
selection.h Formatting. 2020-12-25 23:37:17 +00:00
selection_conditions.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
tool_action.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
tool_base.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
tool_dispatcher.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
tool_event.h Hack to prevent multiple simulation commands from stacking up. 2021-02-02 01:23:22 +00:00
tool_interactive.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
tool_manager.h Hack to prevent multiple simulation commands from stacking up. 2021-02-02 01:23:22 +00:00
tool_menu.h Header clean up round 6. 2020-12-26 19:41:04 -05:00
tools_holder.h Promote mouse drag settings to full enums. 2021-01-11 22:09:36 +00:00
zoom_menu.h CONTEXT_MENU -> ACTION_MENU. (Now used for menu-bar menus too.) 2019-05-15 17:50:52 +01:00
zoom_tool.h Move zoom_tool.h to include 2017-09-25 13:35:01 +02:00