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
36aca68e
Commit
36aca68e
authored
Jun 09, 2013
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix autopan non-response problem when dragging block to right or bottom
parent
b1489cbe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
drawpanel.cpp
common/drawpanel.cpp
+3
-3
schframe.cpp
eeschema/schframe.cpp
+3
-2
No files found.
common/drawpanel.cpp
View file @
36aca68e
...
...
@@ -830,11 +830,11 @@ void EDA_DRAW_PANEL::OnMouseLeaving( wxMouseEvent& event )
if
(
!
m_enableAutoPan
||
!
m_requestAutoPan
||
m_ignoreMouseEvents
)
return
;
// Auto pan if mouse
is leave working area:
// Auto pan if mouse
has left the client window
wxSize
size
=
GetClientSize
();
if
(
(
size
.
x
<
event
.
GetX
()
)
||
(
size
.
y
<
event
.
GetY
()
)
||
(
event
.
GetX
()
<=
0
)
||
(
event
.
GetY
()
<=
0
)
)
if
(
size
.
x
<=
event
.
GetX
()
||
event
.
GetX
()
<
0
||
size
.
y
<=
event
.
GetY
()
||
event
.
GetY
()
<
0
)
{
wxCommandEvent
cmd
(
wxEVT_COMMAND_MENU_SELECTED
,
ID_POPUP_ZOOM_CENTER
);
cmd
.
SetEventObject
(
this
);
...
...
eeschema/schframe.cpp
View file @
36aca68e
...
...
@@ -604,11 +604,12 @@ void SCH_EDIT_FRAME::OnAnnotate( wxCommandEvent& event )
void
SCH_EDIT_FRAME
::
OnErc
(
wxCommandEvent
&
event
)
{
// See if its already open...
// See if it
'
s already open...
wxWindow
*
erc
=
FindWindowById
(
ID_DIALOG_ERC
,
this
);
if
(
erc
)
erc
->
Raise
();
// bring it to the top if already open.
// Bring it to the top if already open. Dual monitor users need this.
erc
->
Raise
();
else
InvokeDialogERC
(
this
);
}
...
...
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