feat: show zoom percentage in statusbar resolving #2870
This commit is contained in:
parent
421511d26d
commit
e6d0de2a46
|
|
@ -7,7 +7,7 @@ from qutebrowser.qt.core import pyqtSlot, QObject
|
|||
|
||||
class Zoom(textbase.TextBase):
|
||||
|
||||
"""Shows percentage indicator."""
|
||||
"""Shows zoom percentage in current tab."""
|
||||
|
||||
def __init__(self, parent: QObject = None) -> None:
|
||||
super().__init__(parent)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import pytestqt.qtbot
|
|||
|
||||
@pytest.fixture
|
||||
def zoom(qtbot: pytestqt.qtbot.QtBot) -> Zoom:
|
||||
"""Fixture providing a Percentage widget."""
|
||||
"""Fixture providing a Zoom widget."""
|
||||
widget = Zoom()
|
||||
qtbot.add_widget(widget)
|
||||
return widget
|
||||
|
|
|
|||
Loading…
Reference in New Issue