fixed minor bug in viewer
This commit is contained in:
parent
d8d7e9142d
commit
19a30284e5
@ -27,7 +27,7 @@ public class ViewRSSI extends JPanel {
|
||||
public void paint(Graphics g) {
|
||||
int h = getHeight();
|
||||
int w = getWidth();
|
||||
g.clearRect(0, 0, 300, h);
|
||||
g.clearRect(0, 0, w, h);
|
||||
double factor = (h - 20.0) / RSSI_MAX_VALUE;
|
||||
double sSpacing = (w - 15 ) / 80.0;
|
||||
int sWidth = (int) (sSpacing - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user