rotate the fullscreen weather image according to orientation settings
This commit is contained in:
parent
707a111849
commit
c515da04f0
@ -628,7 +628,7 @@ class Fullweather(inkycal_module):
|
|||||||
self.addDailyForecast()
|
self.addDailyForecast()
|
||||||
|
|
||||||
if self.orientation == "horizontal":
|
if self.orientation == "horizontal":
|
||||||
self.image.rotate(90, expand=True)
|
self.image = self.image.rotate(90, expand=True)
|
||||||
|
|
||||||
# TODO: only for debugging, remove this:
|
# TODO: only for debugging, remove this:
|
||||||
# self.image.save("./openweather_full.png")
|
# self.image.save("./openweather_full.png")
|
||||||
|
Loading…
Reference in New Issue
Block a user