Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
Kajongg
Commits
e9d66ef5
Commit
e9d66ef5
authored
Apr 06, 2021
by
Wolfgang Rohdewald
Browse files
workaround for a problem with changing lightsource while an animation runs
parent
3d3a44e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/uiwall.py
View file @
e9d66ef5
...
...
@@ -361,7 +361,7 @@ class UIWall(Wall):
def
lightSource
(
self
,
lightSource
):
"""setting this actually changes the visuals"""
if
self
.
lightSource
!=
lightSource
:
assert
ParallelAnimationGroup
.
current
is
None
#
assert ParallelAnimationGroup.current is None
# may trigger, reason unknown
self
.
__square
.
lightSource
=
lightSource
for
side
in
self
.
__sides
:
side
.
lightSource
=
lightSource
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment