Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions Source/UI/NeuropixelsV1Interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,7 @@ void NeuropixelsV1Interface::buttonClicked(Button* button)
}

updateInfoString();
repaint();

CoreServices::updateSignalChain(editor);
}
Expand Down
1 change: 1 addition & 0 deletions Source/UI/NeuropixelsV2eInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ void NeuropixelsV2eInterface::buttonClicked(Button* button)
}

updateInfoString();
repaint();

CoreServices::updateSignalChain(editor);
}
Expand Down
9 changes: 8 additions & 1 deletion Source/UI/ProbeBrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -622,16 +622,23 @@ namespace OnixSourcePlugin
Colour getElectrodeColour(int i)
{
auto mode = parent->getMode();

auto settings = getSettings();
auto device = parent->getDevice();

if (settings == nullptr) return Colours::grey;

if (settings->electrodeMetadata[i].status == ElectrodeStatus::DISCONNECTED) // not available
{
return disconnectedColors[settings->electrodeMetadata[i].bank];
}
else if (settings->electrodeMetadata[i].type == ElectrodeType::REFERENCE)
{
return Colours::black;
}
else if (!device->isEnabled())
{
return Colours::darkgrey;
}
else
{
if (mode == VisualizationMode::ENABLE_VIEW) // ENABLED STATE
Expand Down