Skip to content

Commit 493dbf4

Browse files
committed
fix syntax error
1 parent db9464f commit 493dbf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/picframe/viewer_display.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ def slideshow_is_running(self, pics=None, time_delay=200.0, fade_time=10.0, paus
522522
# this sets alpha for the TextBlock from 0 to 1 then back to 0
523523
if self.__show_text_tm > 0:
524524
dt = 1.0 - (self.__name_tm - tm) / self.__show_text_tm
525-
else
525+
else:
526526
dt = 1
527527
if dt > 0.995:
528528
dt = 1 # ensure that calculated alpha value fully reaches 0 (TODO: Improve!)

0 commit comments

Comments
 (0)