Commit b039ccce authored by Julius Künzel's avatar Julius Künzel
Browse files

[Monitors] Ctrl+Wheel instead of Ctrl+Shift+Wheel

Ctrl+Zoom is the common way in other places like the timeline and
already propagated in the key map info of the monitors
parent a07bd451
Pipeline #117845 passed with stage
in 5 minutes and 47 seconds
......@@ -1137,12 +1137,11 @@ void Monitor::keyPressEvent(QKeyEvent *event)
void Monitor::slotMouseSeek(int eventDelta, uint modifiers)
{
if ((modifiers & Qt::ShiftModifier) != 0u) {
if ((modifiers & Qt::ControlModifier) != 0u) {
// Shift + Ctrl wheel zooms monitor
m_glMonitor->slotZoom(eventDelta > 0);
return;
}
if ((modifiers & Qt::ControlModifier) != 0u) {
// Ctrl wheel zooms monitor
m_glMonitor->slotZoom(eventDelta > 0);
return;
} else if ((modifiers & Qt::ShiftModifier) != 0u) {
// Shift wheel seeks one second
int delta = qRound(pCore->getCurrentFps());
if (eventDelta > 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment