fixed avatar

master
marxzuckerburg 4 years ago
parent e795f01f6c
commit 2693470ebb

@ -200,15 +200,15 @@ class MapWidget(MDDialog2):
self.points+=[(lat,long,desc)]
# # point
# plt.plot(
# long,
# lat,
# '+',
# markersize=25,
# linewidth=10,
# color=self.color_marker,#rgb(*color),
# transform=ccrs.Geodetic(),
# )
plt.plot(
long,
lat,
'.',
markersize=25,
linewidth=10,
color=self.color_marker,#rgb(*color),
transform=ccrs.Geodetic(),
)
# line
if self.last_lat and self.last_long:

@ -264,6 +264,8 @@ class ProfileScreen(ProtectedScreen):
self.avatar.screen = self
self.page_layout.add_widget(self.avatar_layout,1)
# self.avatar_layout.add_widget(self.avatar)
if hasattr(self,'avatar_layout_small'):
del self.avatar_layout_small
def on_pre_enter(self, width=AVATAR_WIDTH):
if not super().on_pre_enter(): return

Loading…
Cancel
Save