mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Prevent GraphStart change on empty plot
This commit is contained in:
parent
506207c5ad
commit
085aa819dc
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue