Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,12 @@ public Parent createComponents(final Parent parent) throws Exception
// Clicking with the primary (left) button selects the widget ..
if (event.isPrimaryButtonDown())
{
// .. but ignore the group widget when Alt key is held.
// This allows 'rubberbanding' within a group while Alt is held.
// Without Alt, a click within a group would select-click the group,
// consuming the event and preventing a any rubberband selection.
// .. but ignore container widgets when Alt key is held.
// This allows 'rubberbanding' within a group/tab/array/etc. while Alt is held.
// Without Alt, a click within a container would select-click it,
// consuming the event and preventing any rubberband selection.
if (event.isAltDown() &&
(model_widget instanceof GroupWidget ||
model_widget instanceof TabsWidget))
ChildrenProperty.getChildren(model_widget) != null)
{
// System.out.println("Ignoring click in " + model_widget);
return;
Expand Down
Loading