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
4ad48982
Commit
4ad48982
authored
Mar 10, 2015
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed jumping cursor when closing pad properties window (GAL footprint editor).
parent
2ecb72da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
draw_panel.cpp
common/draw_panel.cpp
+3
-0
No files found.
common/draw_panel.cpp
View file @
4ad48982
...
@@ -337,6 +337,9 @@ void EDA_DRAW_PANEL::MoveCursorToCrossHair()
...
@@ -337,6 +337,9 @@ void EDA_DRAW_PANEL::MoveCursorToCrossHair()
void
EDA_DRAW_PANEL
::
MoveCursor
(
const
wxPoint
&
aPosition
)
void
EDA_DRAW_PANEL
::
MoveCursor
(
const
wxPoint
&
aPosition
)
{
{
if
(
GetParent
()
->
IsGalCanvasActive
()
)
return
;
int
x
,
y
,
xPpu
,
yPpu
;
int
x
,
y
,
xPpu
,
yPpu
;
wxPoint
screenPos
,
drawingPos
;
wxPoint
screenPos
,
drawingPos
;
wxRect
clientRect
(
wxPoint
(
0
,
0
),
GetClientSize
()
);
wxRect
clientRect
(
wxPoint
(
0
,
0
),
GetClientSize
()
);
...
...
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