You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OpenBCI_GUI/W_EMGJoystick.pde
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -111,10 +111,16 @@ class W_EMGJoystick extends Widget {
111
111
}
112
112
113
113
privatevoidupdateJoystickGraphSizeAndPosition() {
114
-
//Make a unit circle constrained by the max height
115
-
int _padding =30;
116
-
int distanceToUse = h > w ? w : h;
117
-
polarWindowDiameter = distanceToUse - _padding*2-EMG_PLOT_OFFSET*2-BAR_CIRCLE_SPACER*2; //Shrink the X/Y plot so that the EMG displays fit on the outside
114
+
//Make a unit circle constrained by the max height or width of the widget
115
+
//Shrink the X/Y plot so that the EMG displays fit on the outside of the circle
0 commit comments