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
2cba91f9
Commit
2cba91f9
authored
May 14, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Holding shift always activates extend current selection mode (in GAL canvas).
parent
27bb059a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
selection_tool.cpp
pcbnew/tools/selection_tool.cpp
+6
-1
No files found.
pcbnew/tools/selection_tool.cpp
View file @
2cba91f9
...
@@ -147,8 +147,13 @@ int SELECTION_TOOL::Main( TOOL_EVENT& aEvent )
...
@@ -147,8 +147,13 @@ int SELECTION_TOOL::Main( TOOL_EVENT& aEvent )
// drag with LMB? Select multiple objects (or at least draw a selection box) or drag them
// drag with LMB? Select multiple objects (or at least draw a selection box) or drag them
else
if
(
evt
->
IsDrag
(
BUT_LEFT
)
)
else
if
(
evt
->
IsDrag
(
BUT_LEFT
)
)
{
{
if
(
m_
selection
.
Empty
()
||
m_
additive
)
if
(
m_additive
)
{
{
selectMultiple
();
}
else
if
(
m_selection
.
Empty
()
)
{
// There is nothing selected, so try to select something
if
(
!
selectSingle
(
getView
()
->
ToWorld
(
getViewControls
()
->
GetMousePosition
()
),
false
)
)
if
(
!
selectSingle
(
getView
()
->
ToWorld
(
getViewControls
()
->
GetMousePosition
()
),
false
)
)
{
{
// If nothings has been selected or user wants to select more
// If nothings has been selected or user wants to select more
...
...
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