Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ngscopeclient/scopehal-apps
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ea5b3dbb6323
Choose a base ref
...
head repository: ngscopeclient/scopehal-apps
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 79deb3ff68b8
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 13, 2020

  1. Copy the full SHA
    79deb3f View commit details
Showing with 10 additions and 2 deletions.
  1. +10 −2 src/glscopeclient/WaveformArea_events.cpp
12 changes: 10 additions & 2 deletions src/glscopeclient/WaveformArea_events.cpp
Original file line number Diff line number Diff line change
@@ -156,10 +156,18 @@ bool WaveformArea::on_scroll_event (GdkEventScroll* ev)
}
break;
case GDK_SCROLL_LEFT:
LogDebug("scroll left\n");
if(!IsEyeOrBathtub())
{
m_group->m_xAxisOffset -= 50.0 / m_group->m_pixelsPerXUnit;
m_group->GetParent()->ClearPersistence(m_group, false, true);
}
break;
case GDK_SCROLL_RIGHT:
LogDebug("scroll right\n");
if(!IsEyeOrBathtub())
{
m_group->m_xAxisOffset += 50.0 / m_group->m_pixelsPerXUnit;
m_group->GetParent()->ClearPersistence(m_group, false, true);
}
break;

default: