Skip to content

Commit

Permalink
iOS: also show touch selection helper when selecting connections
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Dec 27, 2023
1 parent c8d5e73 commit 14bc33f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Source/Canvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -796,13 +796,13 @@ void Canvas::mouseUp(MouseEvent const& e)

void Canvas::updateSidebarSelection()
{
auto lassoSelection = getSelectionOfType<Object>();

#if JUCE_IOS
editor->showTouchSelectionHelper(lassoSelection.size() >= 1);
editor->showTouchSelectionHelper(lassoSelection.size() > 0);
#endif

if (lassoSelection.size() >= 1) {

auto lassoSelection = selectedComponents.getNumSelected();

if (lassoSelection.size() > 0) {
Array<ObjectParameters> allParameters;
for (auto* object : lassoSelection) {
if (!object->gui)
Expand Down

0 comments on commit 14bc33f

Please sign in to comment.