mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-24 15:25:22 -04:00
Updated build system for Kivy 2.2.1
This commit is contained in:
parent
23e6b6e0c6
commit
67a8f61af8
126 changed files with 9967 additions and 4279 deletions
|
@ -54,7 +54,7 @@ from kivymd.theming import ThemeManager
|
|||
class FpsMonitoring:
|
||||
"""Implements a monitor to display the current FPS in the toolbar."""
|
||||
|
||||
def fps_monitor_start(self) -> None:
|
||||
def fps_monitor_start(self, anchor: str = "top") -> None:
|
||||
"""Adds a monitor to the main application window."""
|
||||
|
||||
def add_monitor(*args):
|
||||
|
@ -62,7 +62,7 @@ class FpsMonitoring:
|
|||
|
||||
from kivymd.utils.fpsmonitor import FpsMonitor
|
||||
|
||||
monitor = FpsMonitor()
|
||||
monitor = FpsMonitor(anchor=anchor)
|
||||
monitor.start()
|
||||
Window.add_widget(monitor)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue