Skip to content

Commit eec0b9b

Browse files
authored
Update README.md
Undo #3 fix
1 parent fa2d64b commit eec0b9b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Use `pip install ingame` to install the project.
3232

3333
```python
3434
from ingame.core import InGame, Screen, EventType
35-
from ingame.objects import Text, Button, Input, Image
35+
from ingame.objects import Text, Button, Input
3636

3737
app = InGame()
3838

@@ -59,14 +59,6 @@ def ht_click() -> None:
5959

6060
Button(screen, text="Print input value", command=ht_click, packargs={"pady": 10})
6161

62-
# Display a local image (resize to 100x100)
63-
img = Image(screen, source="/path/to/image.png", width=100, height=100, packargs={"pady": 10})
64-
65-
# Display a remote image (auto-size)
66-
# img2 = Image(screen, source="https://example.com/image.jpg")
67-
68-
69-
7062
screen.show()
7163
```
7264

0 commit comments

Comments
 (0)