Skip to content

Commit d78e75a

Browse files
authored
Aktualisieren von monitor.py
1 parent f2c51a5 commit d78e75a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scratchattach/editor/monitor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from typing_extensions import deprecated
77

88
if TYPE_CHECKING:
9+
from .block import Block
910
from . import project
1011

1112
from . import base
@@ -143,7 +144,7 @@ def link_using_project(self):
143144
# todo: consider reimplementing this
144145
@deprecated("This method does not work correctly (This may be fixed in the future)")
145146
@staticmethod
146-
def from_reporter(reporter: Block, _id: str = None, mode: str = "default",
147+
def from_reporter(reporter: "Block", _id: str = None, mode: str = "default",
147148
opcode: str = None, sprite_name: str = None, value=0, width: int | float = 0,
148149
height: int | float = 0,
149150
x: int | float = 5, y: int | float = 5, visible: bool = False, slider_min: int | float = 0,

0 commit comments

Comments
 (0)