aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2021-10-27 13:25:00 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2021-10-27 13:25:00 +0200
commitfc17a7594c638f3b3e6a65976826589ec2f89a07 (patch)
tree2755343157c8c25e873f033a5e39c32247a03742 /src/modules
parent361d241c802ae144493a3f222b03c826d0e74b63 (diff)
downloadsvg.js-fc17a7594c638f3b3e6a65976826589ec2f89a07.tar.gz
svg.js-fc17a7594c638f3b3e6a65976826589ec2f89a07.zip
fixed issues when animating css, updated deps
### Fixed - fixed `css()` returning camelCased properties even though they were specified in kebap-case - fixed `ObjectBag` loosing information when calling `valueOf()` (Numbers lost its unit)
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/optional/css.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/optional/css.js b/src/modules/optional/css.js
index c4a593a..ee93869 100644
--- a/src/modules/optional/css.js
+++ b/src/modules/optional/css.js
@@ -23,7 +23,7 @@ export function css (style, val) {
if (Array.isArray(style)) {
for (const name of style) {
const cased = camelCase(name)
- ret[cased] = this.node.style[cased]
+ ret[name] = this.node.style[cased]
}
return ret
}