Skip to content

Commit c314e3c

Browse files
committed
Fix Hardware Settings button not clickable after resize
Fixes #1132
1 parent d9f9312 commit c314e3c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)