Skip to content

Commit

Permalink
- fix compilation on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Hart committed Oct 6, 2024
1 parent 7b5a3b9 commit c106de4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions hi_scripting/scripting/scriptnode/api/DspNetwork.h
Original file line number Diff line number Diff line change
Expand Up @@ -986,6 +986,8 @@ struct HostHelpers

#if !USE_FRONTEND

struct DspNetworkGraph;

struct DspNetworkListeners
{
struct MacroParameterDragListener: public MouseListener
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,6 @@ void DspNetworkGraph::paintOverChildren(Graphics& g)
if(!dragSourceIsValid(currentComponent))
return;

auto globalPos = getLocalPoint(nullptr, Desktop::getInstance().getMainMouseSource().getLastMouseDownPosition()).toFloat();
auto currentPosition = getMouseXYRelative().toFloat();

auto start = getCircle(currentComponent, false);
Expand Down
2 changes: 0 additions & 2 deletions hi_scripting/scripting/scriptnode/ui/NodeContainerComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ struct MacroPropertyEditor : public Component,

void enableProperties(Identifier, var newValue)
{
bool shouldBeEnabled = newValue.toString().isEmpty();

auto rangeIds = RangeHelpers::getRangeIds();
findParentComponentOfClass<MacroPropertyEditor>()->resizeConnections();
}
Expand Down

0 comments on commit c106de4

Please sign in to comment.