Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
e9bc7b58
Commit
e9bc7b58
authored
Mar 11, 2015
by
Tomasz Wlostowski
Committed by
Maciej Suminski
Mar 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Snap cursor to pad center when moving (GAL footprint editor).
parent
b3b79196
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
grid_helper.cpp
pcbnew/tools/grid_helper.cpp
+9
-0
No files found.
pcbnew/tools/grid_helper.cpp
View file @
e9bc7b58
...
...
@@ -219,6 +219,15 @@ void GRID_HELPER::computeAnchors( BOARD_ITEM* aItem, const VECTOR2I& aRefPos )
break
;
}
case
PCB_PAD_T
:
{
D_PAD
*
pad
=
static_cast
<
D_PAD
*>
(
aItem
);
addAnchor
(
pad
->
GetPosition
(),
CORNER
|
SNAPPABLE
,
pad
);
break
;
}
case
PCB_MODULE_EDGE_T
:
case
PCB_LINE_T
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment