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
dbcc18ab
Commit
dbcc18ab
authored
Mar 18, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled autopanning while drawing zones.
parent
342fd6e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
drawing_tool.cpp
pcbnew/tools/drawing_tool.cpp
+5
-0
No files found.
pcbnew/tools/drawing_tool.cpp
View file @
dbcc18ab
...
...
@@ -1040,6 +1040,8 @@ int DRAWING_TOOL::drawZone( bool aKeepout )
ZONE_SETTINGS
zoneInfo
=
m_frame
->
GetZoneSettings
();
zoneInfo
.
m_CurrentZone_Layer
=
m_frame
->
GetScreen
()
->
m_Active_Layer
;
m_controls
->
SetAutoPan
(
true
);
// Show options dialog
ZONE_EDIT_T
dialogResult
;
if
(
aKeepout
)
...
...
@@ -1053,7 +1055,10 @@ int DRAWING_TOOL::drawZone( bool aKeepout )
}
if
(
dialogResult
==
ZONE_ABORT
)
{
m_controls
->
SetAutoPan
(
false
);
continue
;
}
// Apply the selected settings
zone
=
new
ZONE_CONTAINER
(
m_board
);
...
...
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