mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-09 03:00:07 -04:00
Prevent GraphStart change on empty plot
This commit is contained in:
@@ -816,6 +816,7 @@ void Plot::Zoom(double factor, uint32_t refX) {
|
||||
}
|
||||
|
||||
void Plot::Move(int offset) {
|
||||
if (GraphTraceLen == 0) return;
|
||||
if (offset > 0) { // Move right
|
||||
if (GraphPixelsPerPoint < 20) {
|
||||
GraphStart += offset;
|
||||
|
||||
Reference in New Issue
Block a user