projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2fe72f
)
fixed bug with restarting pointer-style global animations when moving mouse
author
Holger Schemel
<info@artsoft.org>
Thu, 25 Apr 2019 17:06:11 +0000
(19:06 +0200)
committer
Holger Schemel
<info@artsoft.org>
Thu, 25 Apr 2019 17:06:11 +0000
(19:06 +0200)
src/anim.c
patch
|
blob
|
history
diff --git
a/src/anim.c
b/src/anim.c
index 3b96adfa55d0b9f1d11d9cd1c9f32e08cd9ac6e7..e603a9d38a0e3760e616a83f623db24c2aac39d1 100644
(file)
--- a/
src/anim.c
+++ b/
src/anim.c
@@
-933,7
+933,8
@@
static boolean SetGlobalAnimPart_Viewport(struct GlobalAnimPartControlInfo *part
part->viewport_width = viewport_width;
part->viewport_height = viewport_height;
- changed = TRUE;
+ if (part->control_info.class != get_hash_from_key("pointer"))
+ changed = TRUE;
}
return changed;