mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
parent
232350c910
commit
69aeeac1be
|
@ -1,6 +1,7 @@
|
|||
Version 1.3.1
|
||||
* not yet released
|
||||
* Ctrl+Enter shortcut in PIM plugin now also works with enter on numpad
|
||||
* fixed zooming with Ctrl+Wheel for some users
|
||||
* fixed issues with cookies filtering
|
||||
* fixed $subdocument matching in AdBlock
|
||||
* fixed $third-party in AdBlock rules when Referer header is empty
|
||||
|
|
|
@ -108,9 +108,7 @@ void ButtonWithMenu::wheelEvent(QWheelEvent* event)
|
|||
return;
|
||||
}
|
||||
|
||||
int numDegrees = event->delta() / 8;
|
||||
int numSteps = numDegrees / 15;
|
||||
if (numSteps == 1) {
|
||||
if (event->delta() > 0) {
|
||||
if (currItemIndex != 0) {
|
||||
setCurrentItem(m_items.at(currItemIndex - 1));
|
||||
}
|
||||
|
|
|
@ -952,15 +952,9 @@ void WebView::wheelEvent(QWheelEvent* event)
|
|||
}
|
||||
|
||||
if (event->modifiers() & Qt::ControlModifier) {
|
||||
int numDegrees = event->delta() / 8;
|
||||
int numSteps = numDegrees / 15;
|
||||
if (numSteps == 1) {
|
||||
zoomIn();
|
||||
}
|
||||
else {
|
||||
zoomOut();
|
||||
}
|
||||
event->delta() > 0 ? zoomIn() : zoomOut();
|
||||
event->accept();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user