mirror of
https://github.com/xdsopl/robot36.git
synced 2026-01-04 15:29:59 +01:00
only show complete lines
This commit is contained in:
parent
6b255e4f5b
commit
c2be865c5a
|
|
@ -83,10 +83,10 @@ public class MainActivity extends AppCompatActivity {
|
|||
for (int i = 0; i < scopeWidth; ++i)
|
||||
scopePixels[scopeWidth * (curLine + scopeHeight) + i] = scopePixels[scopeWidth * curLine + i];
|
||||
curLine = (curLine + 1) % scopeHeight;
|
||||
scopeBitmap.setPixels(scopePixels, scopeWidth * curLine, scopeWidth, 0, 0, scopeWidth, scopeHeight);
|
||||
scopeView.invalidate();
|
||||
}
|
||||
}
|
||||
scopeBitmap.setPixels(scopePixels, scopeWidth * curLine, scopeWidth, 0, 0, scopeWidth, scopeHeight);
|
||||
scopeView.invalidate();
|
||||
}
|
||||
|
||||
private void initTools(int sampleRate) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue