mirror of
https://github.com/anufrievroman/waypaper.git
synced 2024-11-22 07:22:19 +03:00
fix: allow floating point values for swww_transition_duration
This commit is contained in:
parent
a950e54cca
commit
42ab924113
@ -136,7 +136,7 @@ class Config:
|
||||
self.swww_transition_angle = 0
|
||||
if 0 > int(self.swww_transition_step) > 255:
|
||||
self.swww_transition_step = 90
|
||||
if 0 > int(self.swww_transition_duration):
|
||||
if 0 > float(self.swww_transition_duration):
|
||||
self.swww_transition_duration = 2
|
||||
if 0 > int(self.swww_transition_fps):
|
||||
self.swww_transition_fps = 60
|
||||
|
Loading…
Reference in New Issue
Block a user