Skip to content

Commit 91d0820

Browse files
authored
Merge pull request #1133 from OpenBCI/1132-time-series-hardware-settings-button-not-working-after-resizing
Fix Hardware Settings button not clickable after resize
2 parents f034795 + c7e5422 commit 91d0820

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Fix NullPointerException when no Audio Device is available from the OS (Windows and Linux) #1109 #1086
55
- Fix LSL AvgBandPower data type only one value is sent #1098
66
- Fix error starting BrainFlow Streaming Board from external process #1102
7+
- Fix Hardware Settings button not clickable after resizing app #1132
78

89
### Improvements
910
- Update to BrainFlow 5.6.1

OpenBCI_GUI/W_TimeSeries.pde

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ class W_timeSeries extends Widget {
286286
void screenResized() {
287287
super.screenResized(); //calls the parent screenResized() method of Widget (DON'T REMOVE)
288288

289+
//Very important to allow users to interact with objects after app resize
290+
tscp5.setGraphics(ourApplet, 0,0);
291+
289292
tsChanSelect.screenResized(pApplet);
290293

291294
xF = float(x); //float(int( ... is a shortcut for rounding the float down... so that it doesn't creep into the 1px margin

0 commit comments

Comments
 (0)