Skip to content

Commit

Permalink
Update my.kv
Browse files Browse the repository at this point in the history
  • Loading branch information
Blue-Killer87 authored Oct 17, 2023
1 parent 58e77d3 commit 4e0f2a5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions my.kv
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#:import MapSource kivy_garden.mapview.MapSource
#:import utils kivy.utils
#:import GPS GPS
WindowManager:
WelcomeScreen:
CreateScreen:
Expand Down Expand Up @@ -124,13 +123,13 @@ WindowManager:
top: root.top
Button:
text: "Vaše lokace"
on_release: mapview.set_zoom_at(10,1,1), mapview.center_on(GPS.gps.location)
on_release: mapview.set_zoom_at(10,1,1)
height: self.texture_size[1]
text_size: self.width, None
halign: 'center'
Button:
text: "Start"
on_release: mapview.set_zoom_at(10,1,1), mapview.center_on(app.run.start)
on_release: mapview.set_zoom_at(10,1,1)
height: self.texture_size[1]
text_size: self.width, None
halign: 'center'
Expand Down

0 comments on commit 4e0f2a5

Please sign in to comment.