Merge pull request #1659 from karlnack/fix-ff-maxbounds
Update L.PosAnimation._transformRe to account for units (fixes #1658)
This commit is contained in:
commit
68c45bc9fe
@ -49,7 +49,7 @@ L.PosAnimation = L.Class.extend({
|
||||
// you can't easily get intermediate values of properties animated with CSS3 Transitions,
|
||||
// we need to parse computed style (in case of transform it returns matrix string)
|
||||
|
||||
_transformRe: /(-?[\d\.]+), (-?[\d\.]+)\)/,
|
||||
_transformRe: /([-+]?(?:\d*\.)?\d+)\D*, ([-+]?(?:\d*\.)?\d+)\D*\)/,
|
||||
|
||||
_getPos: function () {
|
||||
var left, top, matches,
|
||||
|
Loading…
Reference in New Issue
Block a user