Commit ebc1f1d8b7a8cd2386e7627a9b57fed620e23683

Authored by Peter Hyatt
1 parent e392c54d83
Exists in master

Fix for prev commit.

Showing 1 changed file with 5 additions and 1 deletions Side-by-side Diff

AEyeTabs/src/com/example/aeyetabs/QuickCalFragment.java
... ... @@ -407,7 +407,11 @@
407 407 position = (calState + 1) / 2;
408 408  
409 409 width = canvas.getWidth();
410   - height = canvas.getHeight();
  410 + height = canvas.getHeight() - QLFragment.tabBarHeightPx - QLFragment.statusBarHeightPx;
  411 +
  412 + if(QLFragment.calibratedHeight != height)
  413 + QLFragment.calibratedHeight = height;
  414 +
411 415  
412 416 // Fill the background with gray
413 417 canvas.drawRGB(192, 192, 192);