Skip to content

Commit

Permalink
hotfix mobile-scale bug , fixing mobile compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sera619 committed Nov 26, 2022
1 parent 790fa4e commit 2bab829
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
>```CMD
> python .\main.py
>```
>
> it is also possible to run this game on your Android device. if you want this just open a new issue with your suggestion and i will upload a .apk file
## Preview ##
## Preview ##
![mobile preview](mobile-preview.png)
![preview image](preview.png)
2 changes: 0 additions & 2 deletions game_layout.kv
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ MDFloatLayout:
# MDTopAppBar:
# title: "App bar"
# create a header text

adaptive_size: True
MDLabel:
id: header
font_size: "18sp"
Expand Down
3 changes: 0 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ def build(self):
self.theme_cls.primary_palette = "Orange"
return Builder.load_file(self.defaultScreen)

def on_start(self):
self.root.size = (300, 600)
Window.size = (self.root.width, self.root.height)

# define whos turn it is
turn = "X"
Expand Down
Binary file added mobile-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2bab829

Please sign in to comment.